what is the swim bladder medication

I never heard of anything like that. Is it special food?
Fancy goldies that have eggshaped bodies are prone to swim bladder issues. Try feeding a defrosted frozen pea, deshelled.
What do you normally feed them? I'd avoid feeding much flake food, and go with sinking pellets, or even homemade gel food. Recipes and other food ideas can be found here on FishLores
goldfish board if you want to check them out.
Deb, here's a good link to read about goldfish buoyancy issues, treatment and feeding.
http://thegab.org/Articles/Buoyancy.html