I read, novels, before I go to sleep. That way I have characters and a story to think about as I'm falling asleep. However, sometimes that backfires as it will be too exciting a story and night before last I was up until 3:00 a.m.
I would arrange your homework so you do "problems" first and your favorite courses/reading last so you can "enjoy" it? Think in terms of what courses and work is less stressful, more relaxing and enjoyable.
When do you eat dinner? Do you eat any snacks afterwards? I have various meds (asthma, vitamins) I take before bed and that's a bit of a ritual. I have room-temperature bottled water up on my dresser and go through a bit of a routine getting into my pajamas, taking my vitamins and organizing things for if I get up in the night (to go to the bathroom and I have another med I take in the middle of the night when I do wake to go to the bathroom). My husband has a routine with the cats where he spends time with them, petting them after he gets in his pajamas; he throws his dirty underclothes and socks at the cat, sees if he can cover her with them :-) and then takes them and puts them in his laundry bag and sits on the side of the bed and pets the two of them. Do you have a hobby of any kind? You could spend a little bit of time on that, just anything that is a bit relaxing; get your clothes ready for the morning or take your shower at night instead of the morning, etc.