Type 1 and impotence

I’m 24 years old and have will have had type 1 for 15 years this May. I’m not the best when it comes to manage my diabetes, but I’m trying very hard to get back on track. Recently, I’ve been noticing a lot of changes to my body: mainly in my ability to achieve and maintain an erection. Recently I can barely even get an erection. It only gets 1/2 way there and then nada. It usually only last for a few minutes and then it shrivels up and is super soft. Even when masturbating, I can’t get an erection. This is having a huge effect on my confidence and mental health. I barely masturbate at all now because it just isn’t worth the hassle. I’m really worried I have permanent nerve damage down there or irreparable damage to my arteries. I don’t know any other 24 year old that struggles with ED and I’m terrified I’ll be impotent for the rest of my life. Do any other young type 1 diabetics experience this? I really could use and all advice/support right now.