I think it depends on which medication, because different ones have different half lives (how long it takes to break down and get eliminated from your body). Do you know the name of the medicine?
Usually I pump for milk bath and I will make sure I pump for at least 12 hour before giving baby drink to be confirm it get out of my body.
Noted thanks mummy!
New Mama