Dear Practo user,
Firstly, masturbation is normal and there is nothing wrong in it. It's a normal part of growing up and hence you don't have to feel bad or guilty about doing it. It's absolutely fine.
Having said this, if it is happening too often and interfering with your overall functioning then yes you do need to take some steps.
Next Steps
Try and engage in some other productive activity like your hobbies if you feel the urge to masturbate again and again. You can also consult a Clinical Psychologist near your place in person and discuss with him/her about your concerns. They will help you in dealing with this situation effectively.
Hope this helps.
Best wishes