This medication is taken with or without food an hour before sex. This medicine also works best when you take it an hour before sex on an empty stomach. Your partner can help you remember something that you missed or forgot during the appointment. Do you get erections during masturbation, with a partner or while you sleep? What you can do Take these steps to prepare for your appointment: Ask what you need to do ahead of time.Still, if your doctor says it’s okay for you to use and you end up paying out-of-pocket, you can still get the generic for a lot less than Viagra. According to price-comparison site. Overdose Ask your doctor Q&A Drug Images What is Viagra? If you have erectile dysfunction (ED), your doctor may recommend that you take Viagra. It’s a prescription . Oral medications are a successful erectile dysfunction treatment for many men. They include: Sildenafil (Viagra) Tadalafil (Adcirca, Cialis) Vardenafil (Levitra, Staxyn) Avanafil .