Being kind is not a flaw, but sometimes others can take advantage of it for various reasons.
Regardless, you must learn to stand up for yourself and choose the people around you carefully, as not everyone are worth of time.
Surround yourself with healthy and mature people and avoid toxic people, who make you have less energy, feel low etc. Don't be too trusting and be careful who you open up to.