What comes first: family events, competitions, or homework?
The truth is, it’s up to you because all of them require a lot of time and effort.
You can be equal by arranging a schedule according to when each of them occur. None of them will interfere with each other and that way you can enjoy all of them.
You can create a to do list on your phone for homework with their due dates so you can make time for them. On a calendar annotate when you have competitions and family events so you can arrange some things ahead of time. Make sure to let your teachers or coaches know of any absences.
Spend time with your family, remind them how important they are to you. Put in a lot of practice for any upcoming competitions, “practice makes perfect”. Study for upcoming exams and do all your homework a few days earlier to get it out of the way.