Pills or preggers

So my boyfriend and I had sex last month on the 16th and he had a condom and pulled out. I missed my period last month and still haven't started. I got out on new medication that same month could this be affecting it? I'm confused and worried and honestly psyching myself out!