Abscess can of course occur on palate too.
This is caused due to periodontal infection
or deep dental caries
of any of the upper tooth associated with the abscess.
Get a clinical evaluation by a dentist
Pus has to be drained and curetted.
Thorough scaling is adviced.
Take complete course of antibiotics-analgesics.