I've read a lot about avoiding TV/computer time for like 30mins-hour before going to bed. I can't remember why but it works for me. I do some light reading or meditate. Meditating when tired is difficult, mostly because it's easy to fall asleep and not concentrate, so maybe that's good for you.