That's an ulcer. Your best course of action is to take it to a vet and have it diagnosed and treated by the vet. It sounds like he's not eating, which means simply treating the ulcer is unlikely to solve the underlying problem. Act quickly.