Determine ahead of time how much you want to drink. Measure out that amount and put the rest away so you don't see it, a half empty bottle of wine is a visual clue that your mind will consider an invitation, out of sight, out of mind.
Make sure that before you take your first sip you are not thirsty, hungry or emotional. Have some water and eat a small amount of food. If you are stressed, take a walk or at least a few calming breaths. A quickie calming trick: close your eyes, slightly open your mouth, then breath in slowly for a count of eight seconds, hold the breath for eight seconds, breath out slowly for eight seconds. Repeat until you feel calm.
Slowly sip your wine, appreciate the taste, and express gratitude in your heart for the wine, and being healthy enough to enjoy it, not everyone can say the same.