Pill and antibiotics

I just had sex on Sunday and I’m pretty sure I have an ear infection and might need antibiotics. So technically it’s been 2 days since I last had unprotected sex. Will I be fine if I take antibiotics? I know not all antibiotics affect your bc or anything I like to be on the safe side because it may lessen the effectiveness and I just think with the research you may never know. Should I get on the antibiotics? Or should I wait to be safe?