antibiotic w/ bc question

I know antibiotics can cancel out birth control, but how long after you stop taking the antibiotic does it stay in your system?