Vasovagal Problem and Response?

I have polyglobulya(thic blood) so sometimes I have to do bloodlettings, and after one of those in September 2018 I had for months Erectile dysfunction, till I had another bloodletting, then it stopped the dysfunction. In July 2019 my heart rate spiked everyday at 7pm-ish, doctors gave me Xanax to calm down, but once, I took 8 drops of Xanax then after 10 minutes I masturbated,then i felt suddenyl fainting. Talking to a doctor in August 2019 said that I have a vasovagal problem, but to this day if I masturbate I feel fainty, even just touching myself. Is this all connected to vasovagal problems? "Funny" is that if I take Xanax after masturbating I dont feel so fainty anymore. I dont know.