Alcohol and sexual consent

What’s the deal with alcohol and sexual consent? Can I have sex after drinking?