[O Levels] managing time

im Sec 4 this year! this might be a dumb qn but how do students make time for revision? i feel like im getting flooded with homework every day and by the time it’s 10pm i just finished my hw i know some people mug until like 12am but i don’t really want to risk my sleep because then I’ll get really groggy in school my classmates are somehow already halfway through the yearly tys and i haven’t even gotten started prelims are 1 month away and i can’t find time to revise for them (school ends at almost 4 for me if ur wondering, so i have like 5 hours for hw/studying in total but all of it is dedicated to hw)