You can also prevent future bleeding by limiting your use of nonsteroidal anti-inflammatory drugs, managing your GERD symptoms (if you have GERD), using alcohol moderately, and stopping smoking (if you smoke).