My older dog got hiccups all the time when he was a puppy. I would just pat him on the back until they went away. I have no idea if what I did actually had any effect, but at least it felt nice. After the first couple of years it didn't happen much at all.