According to the Mayo Clinic, there are medications that may be used to treat hiccups lasting for more than two days. The drugs used most commonly in the treatment of long-term hiccups are chlorpromazine, metoclopramide and baclofen. Most cases of hiccups go away on their own without any medical treatment.
According to the Mayo Clinic, a doctor may recommend an anesthetic injection if less-invasive treatments do not work against hiccups. A surgical procedure that implants a battery-operated device to mildly stimulate the vagus nerve is another option to control persistent hiccups. Underlying medical conditions may be the cause of hiccups in some cases, and treating the responsible illness may be effective in stopping hiccups.