From details provided,i feel your gums are inflamed due to highly mucous secretion of saliva.
I would suggest you to visit a dentist
and get thorough evaluation done.
Abscessed tooth if present has to be drained.
Plenty of fluids and water has to be taken.
Maintain oral hygiene
Salivary substitutes has to be administered if necessary.
Hope this helps.