Your lifestyle plays a major role in the prevention of common types of Headaches. Following a routine with a healthy diet, regular exercise, good sleep, and relaxation techniques can be very beneficial.