I would think that if the stuff was all worked in, and dry IE if it was an hour after applying it or more, it Should be ok. But Im not certain. I use cream for my hand sometimes, and usually wait for awhile before I stick it in a tank, or feed the fish.
If worse comes to worse, maybe a water change, some carbon and maybe a good scrubbing would help.
Hope im not way off base.
Shawn