What causes an erection?
Well, whatever turns you on basically but the hard science is this: erections occur when the small muscles in your penis, which are usually tightly contracted, relax and let blood start flowing in. The spongy tissue in the penis fills with blood and expands, pushing against the veins and closing them so the blood cannot drain out again. Well, you did ask.