Welcome to SR, Dashmi.
Many things, including drug use can cause sexual dysfunction, and it's rarely about the partner, just something that happens to many men at different times of their lives.
His doctor can advise him on this, there are medications that can be prescribed to help, but this would be his decision to make.
I guess you will have to decide how important this is to you and your relationship.