What day did you stop getting headaches?

Day 7 and still facing migraines and earaches. Literally no pain inside of mouth. My oral surgeon gave me antibiotics he suspects infection but I just don’t understand how or why? I have been very religious about keeping my mouth clean daily. This sucks so bad.