Botox is injected into the temporalis, frontal and masseter muscles that together can cause jaw pain and headaches. Botox works by blocking nerve signals that cause uncontrollable muscle movements, essentially relaxing the muscles.