On occasion, your healthcare provider may recommend Prilosec for something other than the conditions listed in this article. At this time, using Prilosec to prevent ulcers from nonsteroidal anti-inflammatory drugs (NSAIDs) is considered an off-label use.