Could you be pregnant even though you got your period and took a pregnancy test and it came out negative?

It's possible but you have to wait two weeks after the unprotected sex to take a pregnancy test. You can still have your period after having unprotected sex and be pregnant.