What if you get erections with no sperm?

Sperm doesnt come out, just by having an erection.
It has to be stimulated first, for semen to come out.