Help!

I had unprotected sex the day before my period, I got my period and I took a pregnancy test. Will the pregnancy test come out negative because I'm on my period?