Viagra is a prescription medication, which means that in most countries, you must consult a healthcare professional before obtaining it. This consultation serves multiple purposes: confirming the diagnosis of ED, ensuring your overall health is suitable for the medication, and providing personalized dosing instructions to maximize safety and effectiveness.