Hello and welcome to healthcare forum.
Masturbation is a healthy practice and it has no harm to any part of body or does not have any relation to any body problem,sexual life or
fertility. Movement of
penis that occurs in
vagina during sex, same movement occurs in fist during masturbation.
I hope i have answered your query.