If he’s rejecting food DON’T feed him. Fish can easily go weeks without eating. Do extra water changes to keep nitrates low and give him time. If any of his conditions worsen that indicate a diagnosis then you’ll need medication to treat it but right now it sounds like he’s just not eating and with that alone I wouldn’t worry yet.