Try whenever you want. It takes a couple weeks before you're sharing your blood stream w baby, and as the previous poster states, meds sometimes take awhile to clear your system, however they usually clear your blood stream and kidneys within a couple days. Baby won't be effected.
You should consult with your Dr first, some meds can stay in your system for months.