Heart attack, stroke, irregular heartbeats and death have been reported rarely in men taking Viagra. Most, but not all, of these men had heart problems before taking this medicine. It is not possible to determine whether these events were directly related to Viagra.