Antibitoics while on Cycle

I have a sti and had antibiotics prescribed but I was wondering have anyone ever taken antibiotics on your cycle for a sti and it cured it with no problem? I'm worried the blood might reinfect me ?