Plan B

Hi! recently I had intercourse unfortunately he didn’t pull out but within 24 hours I took a plan b I honestly just need reassurance because I am fairly young still and I cannot bring a baby into this world anytime soon and also I have an ear infection and I have to take pills for that should I hold on taking my pills so that it doesn’t effect the plan b