That is why they are doing bad things - because they have a problem, NOT because you did something wrong to deserve it. No-one should touch your private parts. Your body belongs to YOU, especially your private parts. Then tell someone about it. Keep on telling until someone listens and believes you and helps you.
Children have rights too - including to be protected and feel safe within their family.
Don't wander off by yourself. Always tell a parent where you are going. If someone asks you to keep a secret, tell Mum, Dad or an adult friend. You should not keep bad secrets. Never talk to strangers.