Viagra is always taken as needed, usually an hour before having sex. The generic versions are just as effective and much less expensive. The mechanism of action for ED pills is simple: They inhibit the PDE5 enzyme which regulates the signals responsible for the smooth muscle tissue. Generic vs. Cialis: Is one right for you? Emling S. Viagra vs.In addition to Viagra, REX MD also offers brand-name Cialis and generic Cialis (tadalafil). Both Viagra and sildenafil are available in mg, mg, and mg doses. REX MD . Compare prices and print coupons for Cialis (Tadalafil (Cialis)) and other drugs at CVS, Walgreens, and other pharmacies. Prices start at $ Cialis and Viagra are both pills for treating erectile dysfunction. They are PDE5 inhibitors that allow for increased blood flow to the penis, leading to more frequent and harder .