Condom Trouble

My boyfriend has been struggling with staying erect during sex lately. He hates condoms and admits that it's a mental hang up about them. I've tried all the different forms of birth control and nothing works for me so condoms are the only option. It's getting very frustrating for both of us and emotionally stressing me out. Any thoughts?