How do you put your happiness first, but still be kind to others?

I have a hard time putting myself first because I feel like I'm being mean to other people.