Welcome to healthcaremagic forum.
Usually swelling on the palate occurs due to spread of infection from the tooth into periapical tissues.
A thorough clinical as well as radiological evaluation of the affected area is necessary to rule out the cause of infection.
Pus has to be drained out completely.
If there is deep caries of associated tooth,root canal treatment
has to be done.
If there is periodontal infection
,scaling ,root planning as well as curettage has to be done.
I would suggest you to take ciprofloxacin
antibiotic along with analgesics.
Visit a dentist
for further reference.
I wish you speedy recovery.