There is nothing wrong with masturbation. Medically speaking, female and male masturbation is harmless, and in fact, may affect your mental and physical health positively. As far as you’re not using dirty sex toys/dirty fingers, you’re on the right track.