Hi, toothache may be because of infection (decayed tooth or infected gums). It can cause referred pain like headache.
Next Steps
Please visit your Dentist to check the tooth & get the right solution for root cause.
Health Tips
You can try warm water salt gargle and ice application externally on cheek for soothing effect. Do not delay to visit the Dentist.