I don't know if this is helpful in your case, as I know nothing about Ed and diabetes but if you can get any erection, we found that the use of cock rings helped to keep it for a while.
Also relaxing as much as you can so that it doesn't become a major issue for you.
Some men achieve pleasure even if they can't manage as they used to.
I hope others have ideas for you.