sexplanations

okay so I had unprotected sex with my boyfriend today which I know was really stupid but he didnt ejaculate in me and I got my period a few hours later can I still get pregnant?