Take sildenafil as needed before sexual activity. The best time to take sildenafil is about 1 hour before sexual activity, but you can take the medication any time from 4 hours to 30 minutes before sexual activity. Sildenafil usually should not be taken more than once every 24 hours.