Greetings and welcome to the board!
Sorry to hear your fishies are ill.
One thing that will help us out is asnwering the questions
in the big red box at the top of the page. If you don't
have a water testing kit, take a water sample to your
local fish store. Most places test for free. Make sure
to write down actual numbers, don't get OK or good.
From reading your description, it sounds like your
tank is overstocked.

Fancy goldfish(fantails,
orandas,etc.) need a minimum of10 gallons of water per
fish. Narrow bodied goldies (commons, comets, shubunkins
etc.) need a minimum of 15-20 gallons of water per fish.
Filtration for a 30 gallon tank should be 10x the amount of
water in the tank. So, you would need to be filtering 300
gallons of water per hour (300 gph).
Post back with the results and we'll see what can be done
to correct your problem.