no it not true. The cause behind any medicicne not working can be many and differ from person to person and from situation to situation.
Next Steps
If you think the medicicne isnot working properly on you because of habitual masterbation then you should discuss this problem with your homoepath and together yo an work something out.
Health Tips
meanwhile eat healthy food, do some brisk exercise everyday and keep tabs on your mental health too during the time of this epidemic.