thank you for your query.
your pain seems to be stemming from the lingual nerve
or the mandibular nerve that gets irritated when a tooth is pulled out.
the pain and irritation will persist for 2 or three days.
but if it lasts for more than this you need to see the dentist
and start some medication.
wishing you good health