Hi Cindy Welcome to Fish Lore
You should to start your own thread on this since, as you said, the medication would be different with these two types of fish. Also, you'll get more personalized advice concerning your particular problem and fish.
Usually bloating (as long as the scales are not sticking out) is a sign of constipation. A good remedy for this is to feed your fish bits (smaller than the size of their eye) of frozen thawed peas.
I hope this helps, good luck, I hope your fish feels better soon.