While a beer or a couple of glasses of wine won’t affect how Viagra works, any more than this can make it harder to get an erection. It’s advised to not drink heavily before taking Viagra if you would like the best results.