There might be tooth decay which won't be visible to you. You need to visit a dentist for that. When you eat, food might get stuck in the decayed part and cause you pain.
For pain take Tab. Ketorol DT (6)
2 tabs at once. Mix in 1 cup of water and consume it. Take whenever you have pain.
Next Steps
visit your nearby dentist and get an x-ray done. That will give a proper diagnosis.
Health Tips
Do not eat anything sticky and hard from that side. rinse your mouth after every meal to avoid food accumulation.