Did I do the right thing?

Ok so me and my bf had sex with a condom but it broke and he ejaculated but he said he pulled out but I was worried he didn't pull out just in time and so I took the morning after pill just in case cuz I don't want to get pregnant yet. I took the pill 4 days ago and I hav to go in for surgery on April 2 (exactly a month from the day I took the pill). I told my doctor i was not sextuly active and I'm not on birth control. I lied and said I wasn't sexually active because my mom was there and she would get mad at me if I was. So my real question is: did I do the right thing by taking the morning after pill? And will it effect my surgery?

Vote below to see results!