Hi there, thank you for posting your question. My answer is not intended as a substitute to visiting your own doctor but I hope I can be of some little help.
I don't think your erection problem is related to your sciatica necessarily but I would need a lot more information.
Post again if you like using Ask a Doctor or maybe I could help you through my website.
Dr Andrew Rynne.
www.andrewrynne.com