Pregnancy test

I'm suppose to get my period on Friday. Can I test today ? And does it have to be the first pee of the day? Or can I pee any time today? Because obviously it's 3pm and i have already peed today