I'm not sure--I think it depends on the med in question. Some meds are fine. I think coppersafe is safe for most plants except Vals (but don't quote me on that). Your best bet is to read the label and see if it says anything about plants. Or, better yet, remove the fish to an unplanted Quarantine tank (ten gallon tanks are relatively cheap....). Good luck, I hope your fish get better if they have ick.