How to cope with a headache