Women who used to be people-pleasers, what helped you stop?

I’ve always had trouble saying no and setting boundaries, even when I know it’s hurting me. If you used to struggle with this, what changed?