You should avoidTrusted Source taking nonsteroidal anti-inflammatory drugs (NSAIDs), corticosteroids, and opiates if you have diverticulitis.

This is because these medications are associated with gastrointestinal problems, constipation, and increased risk of gastrointestinal perforation, according to the United Kingdom’s National Health Service (NHS).

Instead of NSAIDs, a doctor may recommend acetaminophen to treat painTrusted Source resulting from diverticulitis. In severe cases, they may also recommend antibiotics.

In some cases, medication may not be necessary.

Medically reviewed by Qin Rao, MD

Dr. Qin Rao is an ABMS board certified internal medicine physician specializing in gastroenterology and hepatology. He is currently a practicing physician at Manhattan Gastroenterology in New York City, and he specializes in irritable bowel syndrome, inflammatory bowel disease, dyspepsia, and hemorrhoid treatment.

Read more.