i personally use 3 types of methods to cure my hiccups.
got 2 times when my hiccup very serious can continue for 3
days.
when i got hiccup, i drink lots of water at one shot.
if still cannot, i breathe in very very deeply several times
till the hiccup stop.
if still cannot, then i use my fingers to pinch my nose so as to
block the air blow, and i also hold my breath. this method is by
far the best method and it cures mild hiccups.
for serious hiccups, this method can cure it temporary, then the
hiccup comes back after half an hour or so. when it does, do it
again.
eventually, it will go away after a few days at most.
if still cannot, see doc.
if still cannot, operation.
if still cannot, learn internal skill (nei-gong).