Question

Could I get pregnant if I had unprotected sex but then took a plan b pill afterward then had unprotected sex again and didn’t take the pill the second time? I don’t mind getting having a baby.