How soon to test pregrnancy

MamathaSumesh
4 days before my period-can i take a pregnancy test?? Pls advise
​Thank you