Sildenafil tablets are to be consumed orally. It takes between 30-60 minutes for sildenafil to work. You can take it up to four hours before you want to have sex. Taking the tablet itself will not cause an erection, you need to be aroused for it to work.
It is best to take sildenafil on an empty stomach. If you take it with food, it may take longer to work.