If there's nothing wrong with your teeth - like an infected tooth, etc. - then it could be something with the trigeminal nerve. You may have something wrong with your teeth that you aren't aware of, or it could be something neurological.
It could also be that you are grinding your teeth at night, stressed and clenching your jaw - things like that - https://www.humana.com/prevention-and-care/healthy-living-and-prevention/dental-health/toothaches
Since they are so frequent, you should get this checked out.