6 Surefire Ways to Stop Coughing.Go koo-koo for cocoa. YES, I know, this has to be the best advice ever, right? Apparently, theobromine -- an ingredient in chocolate -- suppresses vagus nerve activity involved in coughing. And get this! Research shows chocolate is nearly a third more effective in stopping persistent coughs than the narcotic codeine. Sweet!