I was freaking kind of still am ?!

So me and my boyfriend had unprotected sex twice last month and I was pretty nervous that I was pregnant my period was supposed to start tomorrow so I wanted to take a pregnancy test this morning to see if I was pregnant and it came out negative so while I was in class I got my period can I still be PREGNANT ?