Black pepper traditionally has been used internally to treat gastrointestinal symptoms such as flatus, anorexia, indigestion, heartburn, peptic ulcers, abdominal pain, cramps, colic, diarrhea, and constipation. It has also been used to treat joint and respiratory disorders and to stimulate mental processes. Black pepper is used externally to treat neuralgia and scabies.