Thanks for asking the query,
Pain after tooth extraction can be because of any left over particle or due to traumatic extraction .
I would suggest you to get clinical examination of the tooth,
Take x-ray of the tooth to give the periapical condition of the tooth.
Headache can be due to use of antibiotics and analgesic
prescribed to you .
A complete extraction wound healing takes place in 3 months but the pain go off completely in 3-5 days .
Take complete rest
Take tab combiflam
TDS for pain relief .
Maintain a good oral hygiene .
Use antiseptic mouthwash gargles twice daily
Hope this helps out.