This has to come above all else. Just like looking after yourself first because you cannot help anyone else if you do not have your health. As long as your focus is on how to help others, then looking after yourself first is okay. If you have a tendency to be selfish, then you may need different advice. But if you are the sort of person that always puts others before yourself, you may be burning yourself out to the point that you can no longer help them.
It is okay to take some time for yourself. You need to unwind, decompress, de-stress. There is no point putting others first if you are angry, irritable and frustrated. Sort yourself out so that you are in the right frame for your interactions. Otherwise, you are not really helping - you are there in body but not in mind - just going through the motions because you have to.
A quick cheat code for getting some time for yourself? Get up before everyone else. No need to lose sleep, go to bed earlier. Getting up earlier is the easiest way to be more productive. Workout, meditate, journal. Whatever it is you need to do to get back to yourself, early morning is the easiest time to do it before the day descends into chaos and whim.