The main causes are drinking too much alcohol , or using nonsteroidal anti-inflammatory drugs ( also known as NSAIDs ) such as aspirin or ibuprofen for too long . The main acute causes are excessive alcohol consumption or prolonged use of nonsteroidal anti-inflammatory drugs ( also known as NSAIDs ) such as aspirin or ibuprofen .