It's a NSAID, so if you do have some sort of IBD then taking that will make you worse, and show things up more clearly on a scope, and actually make a diagnosis easier.
Part of the reason I got diagnosed so quickly was because I had been taking ibuprofen continuously for 2 weeks!