If I have a nintendo switch account and a playstation account on fortnite, how do i transfer my nintendo switch account to my PS5?

Every time i try and log into my playsation account, it automatically logs in to my switch account and therefore i cant delete my playstation account to transfer my account to my PS5.

Sorry if this doesn’t make sense i have tried for hours to do this and im exhausted…