Viagra, officially known as sildenafil, is a approved medication primarily used to treat erectile dysfunction . It functions by increasing blood flow to the penis, facilitating sexual function in response to sexual stimulation . While generally safe when taken as directed, potential side effects