Hi, and thanks for your medical question on eHealth forum!
There is nothing wrong in masturbating as long as you are not going overboard. Many couples find it stimulating to masturbate, and find it visually satisfying. However, if it is affecting your sex life or day to day working, then you need to consult a counselor. Hope this helps. Take care!