Stupid decisions

Okay so I missed my period two months in a row. I've been on birth control pills for over a year now. And my doctor said it was all a side effect from the pills. But I wasn't that sure because I wasn't very diligent with taking them and I was guilty of having unprotected sex a lot as well. ( We depended on the pills as protection solely. ) so my doctor's nurse suggested I stop taking the pills while they run tests and try to figure everything out in case they want to switch me to a different pill or something else is going on. Throughout my course of not being on the pill I had sex 3 times (all unprotected). I don't know if I have the pills that still allow me to ovulate or whatnot. Because I can definitely see the changes with my CM throughout the month. I started back taking my pills. But I'm also scared that some kind of way I may have been to slip up and get pregnant when I did not take my pills. Because I had some CM that was consistant with what they consider fertile CM. I'm probably just working myself up for nothing. I just wanted to get this out of my system and stop stressing.