If its plaque or rotten food growing in there it could be developing into an abcess, or already such. Sometimes they flame up, other times you don't notice so much. I had one for a year and the pain was not so bad, mainly because my tooth was dead.

If nothing else, for peace of mind get it sorted.

Go to the dentist.