In order to balance schoolwork and practice and competition time, you need to take advantage of the small breaks during the days so you're not up all night. That will then help you do your best in a meet or practice.