Sildenafil (Viagra) is used to treat erectile dysfunction (difficulty obtaining or maintaining erections).read