Do you think it's bad if I tell people to stop hugging me?
You don't like it when people hug you?
No, not really. I need my personal space and the hugs are too much for me sometimes.
You should be direct and tell people that you don't really like being hugged. Take a few steps back if it looks like people are too close to you.
Sometimes people don't listen when I tell them I don't want to be hugged. I don't know how to stop them from hugging me.
You have the right to maintain your personal space and you can decide who touches you. Just try to maintain a separation between you and others and politely tell them you don't want to be hugged.