Sildenafil citrate works by inhibiting the enzyme phosphodiesterase type 5 (PDE5), which regulates blood flow in the penis. By blocking PDE5, Sildenafil helps to relax the blood vessels in the penis, allowing blood to flow more freely and leading to an erection when sexually stimulated.