Question?

I was sick a couple of weeks ago and also had infected tonsils so the doctor gave me antibiotics , can taking antibiotics stop being from getting Pregant? I wasn't using protection. Pls answer!