Melafix is an antibacterial medication, it is used to treat bacterial infections. Pimafix also has antibacterial action (even though it is primarily marketed at fungal infections). However, if the fish has a very severe bacterial infection, antibiotics are the best thing to try.