New guy here and I have a dilemma

Hello,
I’ve been taking 1.25mg of Finasteride and 2% Minoxidil for almost 20 years and my hair has been great. In the past 2 years or so I have been losing my “mojo”. Prior to that I was fine but that could have been because I was dating someone hot and half my age. So in the past 2 years I’ve only been dating women around my age (52) but I don’t feel anything with any of them and I want to!
I just want to know if the Finasteride has finally caught up with me and is making me have less sexual urges. I’m contemplating getting off Finasteride but then I risk losing hair. Any suggestions or comments would be great. Thanks!