Though Viagra is a safe medicine, it may trigger adverse effects in those with pre-existing heart problems. Some people with an existing heart condition have reported a heart attack, stroke, or irregular heart rate after taking Viagra. However, clinical studies have failed to prove a correlation between Viagra and heart problems.