Birth control

LeeAnn
I'm on the pill, and I've recently got an ear infection. My doctor prescribed me amoxicillin, could this affect my birth control?