Is it okay to start the pill on antibiotics?

I recently got a uti and while at the clinic, I decided to start birth control. But I haven't physically started birth control, because I wanted to wait until my period, I got my period while on the antibiotics for the UTI and I was wondering if it would be okay to take the pill while the antibiotic was still in my system?