In pain I think im pregnant

I was up all night last night and I felt like I was going to be sick. And now my back hurts. My period is not for 5 more days. Is there a changes that im pregnant. I had sex two weeks ago.