The weekend is almost here, and for many of us, it begins with having a few wines with colleagues at the end of a long week.  We love everything about our favourite red wine—except for the splitting headache that sometimes follows.  This undesirable consequence after a few glasses of wine is quite common, and it turns out there’s doctor-approved ways to prevent it.

While there are a range of reasons why drinking wine gives us headaches, there are a few precautions you can take.  Health magazine’s medical editor, Roshini Rajapaksa, MD, assistant professor of medicine at the New York University School of Medicine, listed the science-backed strategies wine lovers should try if they want to avoid the dreaded headache that often follows drinking their favourite wine, and we’ve taken notes:

Take a non-drowsy antihistamine. Research has found that the tannins in wine might boost serotonin production in the brain, triggering headaches in those who are prone to migraines. Taking an antihistamine prior to pouring yourself a glass will prevent these changes in serotonin levels.

Switch to white. If you’re not partial to reds, opting for a white wine could keep you from that dreaded headache. Tannins are typically found in the skin and seeds of the grape, which are removed during the production of white wine. If you’re a die-hard red wine lover, you may want to switch up your usual pour for something lighter like Pinot Noir if headaches are becoming a problem.

Keep hydrated. This strategy may not come as a surprise, but it’s often overlooked. If you’re consistently suffering from headaches after drinking wine, chances are you’re dehydrated. Alcohol dehydrates you, so be sure to drink plenty of water before, during, and after you sip on your favourite pour.

What are your tricks for beating wine headaches?