WebMD -- March 3, 2011 -- Men who take painkillers regularly to treat pain such as the aches that come with age may be increasing their risk for another common condition of aging, erectile dysfunction (ED), a study suggests. Middle-aged men in the study who reported regularly taking nonsteroidal anti-inflammatory drugs (NSAIDs) were more likely to have erection problems than men who took the drugs less frequently or not at all.