If you have had a stomach ulcer, perforation, or bleeding, it's important to consult your doctor before using Ibuprofen. This medication may not be suitable for individuals with certain gastrointestinal conditions.