I seem to lose my erection the second I try to put a condom on, what's wrong?

Loss of erection. This is a common symptom with a psychological cause. There are different types of performance anxieties that can cause this. It usually is not a physical problem. Discuss this problem with your physician or a psychologist familiar with performance anxiety.