Rhea is very right about the fact you should go to a vet to make sure what it is. And after you know the problem THEN you can start a treatment.
When it is mouth rot you need to clean the mouth with hydrogen peroxide (10%) on a cotton woolthing and use antibiotics.
But....go the vet first!! Good luck
