No masturbation does not affect fertility. However, not doing it properly can risk you for problems of premature ejaculation. Also excessive masturbation is an important risk factor for Erectile Dysfunction. It is very important to understand the correct way and facts about masturbation.
Next Steps
For specific information and suggestions you can consult with me directly here on practo.