Take a few deep breaths, holding the last one.
Take a mouthful of water, and hold it in your mouth, without swallowing, for 20 seconds.
Add a pinch of real sugar, and again hold without swallowing for 15 seconds. If the sugar has not dissolved, hold it until it does.
Swallow.
Take one more deep breath. Your hiccups should be gone.