Read a book in bed for half an hour, that should at least help you get to sleep to begin with. My sleep pattern was A MESS in my early 20's, it got to the point where I was sleeping from 6 or 7am into the afternoon. Switching from tech / TV before bed to reading really helped.
If it's night waking though, that's something I've yet to crack myself

. I only get intermittent bouts of it (I'd say only 3 in the last few years, each lasting 3 to 4 weeks) but yes it's awful. I'd get to sleep fine then wake after about 2 hours feeling horrendous and be unable to get back to sleep, sort of drift in and out of a half-sleep state all night where any little problem in life feels amplified x 100, and then feel progressively worse all day due to sleep deprivation, and then same again night after night.
Weirdly it tends to disappear as quickly as it starts for me. One night I'll just sleep through fine and that's it sorted

.