If a nipple discharge
is associated with a medication, it is probably due to that medication, and no something more serious like a cancer
In this case it should stop when the medication stops. However, sometimes there is more than one thing going on, or something rare. Check with your healthcare provider if in doubt.