The absolutely first and most important thing for you to do, is to buy a proper tank for this fish, a 20 gallon would be a good start! It would allow you to add a friend for him
Goldfish really enjoy company! But if you're sure that you don't want any other goldfish, a 10 gallon is alright. Just be sure to have good filtration, something that turns 5 times the tank volume would be nice, 10 times would be even better! In short, get a filter that turns 50-100 gallons per hour. You can later adjust the strength of the outflow if necessary. You don't want to blow your fish away after all!
Second of all, get rid of the catfish, you shouldn't ever keep suckermouth catfish with goldies, since they can start grazing on the goldfishes' slime coat. Which of course isn't a good thing. It can cause severe infections and wounds on the fish, which can in the worst case be fatal.
The main problem with your goldfish for now, is that he's probably starting to react at the nitrates, which are higher than he's used to thanks to the new tank mate. So please get him a proper tank asap!!!