The spasmodic contraction (Involuntary loss of muscular control) of the diaphragm results in hiccups. You should consult a doctor, if you experience continuous hiccups for more than two days. Hiccups accompanied with issues in swallowing, sleeping or breathing should not be ignored. Hiccups which continue for a long time can cause problems in eating, sleeping and speech disorder. A doctor specialized in gastrointestinal and neurological issues should be consulted to treat your hiccups. The doctor would conduct a physical exam you to know about the cause of your hiccups. If the doctor suspects an underlying cause of your hiccups, he would put you through one or two tests. There are various things, which trigger hiccups, which include rapid consumption of food, excess intake of alcohol, smoking and indigestion. So do consult a gastrointestinal surgeon to get your condition diagnosed and seek appropriate treatments.