You have to control diabetes/
Look after diet
and do exercise and go through CBT and see your depression
is handled properly. Do exercise and keep fit.
You need to change your attitude as dibetes is a disease of of lifestyle also and and is manageable.
At the same time a good nutrition with dietician will improve your mind and also sexual health.