And dentists? Bump in mouth after x-rays and pictures.

I went to get an oral assessment the other day and the thing they put into my mouth during x-rays and images was quite uncomfortable, but it usually is. Well a little while later I developed a bump in my mouth, below my bottom front teeth and towards the bottom of my mouth. It hurt a little if I press on it with my tongue, and it’s a little smaller than a pea. It hasn’t gone away. My neck also hurts, like where my lymph nodes are. Anyone know what could have caused this?