There might be ulcer on the uvula and palatoglossal arch. thats why it is hurting you when you eat some thing or food passes through it.
I advice you to take healthy and nutritious diet, take vitamin A
& C supplements, avoid smoking stress
If the situation persist please visit to the doctor.
Thanks, Dr. Vishal