Can u take a pregnancy test

Alyssa
Can you take a pregnancy before your period?