Viagra is a brand of sildenafil used for erectile dysfunction. The name on the front of a box can differ from the active ingredient listed on the dispensing label.
If you have two packs with different names, check the active ingredient on each. Bring both to the pharmacy if you are unsure whether they contain the same medicine. A pharmacist can also check your other medicines, including sprays used occasionally for angina.