Spinal cord injuries are among the commonest causes of organic erectile dysfunction. The cause usually is neurological and due to nerve compression as in your case. Most cases will respond to the new PDE5 inhibitor drugs like Viagra. Try these. They work in 70 to 75% of cases. If not, you will need proper andrological evaluation of your erections.