Pimple on my gum that won’t go away?

So I’ve been having this pimple for a couple of months now on my gum, it swells more when I eat something. It’s gets bigger and smaller but always comes back. What could it be?