A method for treating headaches caused by a blood vessel irritating an associated nerve. The method is performed using a doppler ultrasound device and a treatment device (e.g., electrocautery or radiofrequency ablation). The method includes receiving an estimated location of an origin of the headaches. The estimated location is investigated for a blood vessel using the doppler ultrasound device. When the investigation of the estimated location identifies a blood vessel, the estimated location is cauterized or radiofrequency ablated using the treatment device, such that pressure is reduced on a nerve associated with the identified blood vessel and such that the treatment device does not directly stimulate the nerve.