If you take nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen, they may trigger ulcerative colitis. Instead, take alternative over-the-counter painkillers such as paracetamol. Other things that can trigger ulcerative colitis include an infection in your gut.
For more information, see our sections on causes of ulcerative colitis and living with ulcerative colitis.