Masturbating help

Help I've tried masturbating before and it just hurts idk if I'm doing it wrong or what but I just find it extremely uncomfortable can someone give me tips so it's more pleasurable than painful.. Tia