Pus filled bump at the temple region may be due to progression of decay into periapical region as well into sinuses which results in extra oral swelling.
Please do visit a dentist
and get a thorough evaluation done.
Decayed teeth if present has to be restored or root canal
Pus has to be drained and curetted.
Swish with warm saline frequently.
Maintain oral hygiene
If symptoms persists,please do visit a dermatologist
Hope this helps.