Hi, Masturbation does not have negative effect on sperm count or motility. If you are curious to know about quality of your sperm get semen analysis done after collecting the semen sample after having abstinence for 4 days. Following measure will help you to improve sperm production ,count and overall quality of sperms: 1) Practice regular exercise for 45 minutes followed by meditation for 1/2 an hour in the morning. 2) Take high protein diet rich in vegetables and fruits and Vitamin A,C,D,E.and Zinc 3)Take anti oxidants like Almonds 5-6 everyday. 4) Avoid alcohol and smoking. 5) Avoid frequent masturbation. Hope I have answered your query. Let me know if I can assist you further.