It sounds like your goldfish are starving for oxygen, for one thing. Also if thrre is so much waste in the tank, as scavengers, goldfish will try it to see if it's edible. You need to vacumm the gravel, cut back on the amount you are feeding (the more food, the more poop) as most people overfed golds. they act like they are starving all the time,,they aren't! And do some partial water changes. If these golds are in a bowl, then partial water changes need to done evert 3-5 days. if they are in a tank with a filter abd still gulping at the top for air, you need more surface water movement. A air stone can help with that.