Could i be pregnant?

Patient: I am on the pill, have been for months, really good at taking my pills. My boyfriend and I had sex the day I would have been ovulating. I know that you are not suppose to ovulate when taking the pill. He pulled out as well as me being on birth control. Two weeks later I got my period. I am wondering if I could be pregnant? Many people have said different things and I’m really concerned. I have been nauseous and tired but those could be symptoms of my uti medication. Since I had my period, I should be okay, right?

Doctor: