Masturbation has nothing to do with having sex. Pleasuring yourself is natural so don’t blame it for your sex life. As for good sex, it happens with time. The mind and the body learn to perform better with practice so don’t pressurize yourself. Have sex with your partner often and make it a collective learning experience. Good sex is as much about knowing what arouses your partner as it is about what makes you tick.