Help !

Me and my boyfriend had sex without a condom. I am on the pill but have been irregularly taking them. I took a plan b within the next 24 hours. I should be okay right?