Pregnancy test

I’m supposed to get my period within the very near future but some other symptoms are happening that’s making me wonder if it will or not. How soon should I take a pregnancy test?