Can you get pregnant in my situation?

I was having cramps yesterday and knew my period was coming... I had unprotected sex last night and he pulled out. I did get my period this morning but is there still a possibility that I could be pregnant?