After surgery, nonsteroidal anti-inflammatory drugs (NSAIDs) such as aspirin, ibuprofen (Motrin, Advil), and naproxen (Aleve) should be avoided. NSAIDs increase the risk of peptic ulcers. Patients who have undergone gastric bypass surgery should refrain from taking these drugs indefinitely.