You'll want to put some carbon in your filter for a few hours and do a 50% water change today & tomorrow at least to clear out the melafix since it could kill your gourami.
Rather than melafix and pimafix, what I'd recommend for the tank is Garlic Guard (1 drop per gallon daily) to help guard against infection, Fish Protector (2 drops per gallon daily) to help boost the immune system and encourage faster regrowth and Vita-Chem (1 drop per gallon daily) to encourage faster regrowth.
www.thatfishplace.com is a good place to get them all online if you can't find them locally. None of them are harsh and they are all safe for all fish.
I'd also recommend Prime for treating all of your water, if you're not already using it.
Also 25% water changes daily after clearing the melafix out.