That's not how it works. You can masturbate as much as you like and it won't affect your HRT. In fact, you should masturbate to keep everything working. I have heard "use it or lose it", so I do it regularly whether I feel the need to or not. You also want to keep it from shrinking, which will happen if it's flaccid 24/7.