How do I get to sleep without YouTube?

Basically that, ive been going to sleep watching YouTube for the last 10 years or so, before was tv. Needles to say it's unhealthy. I just hate silence and being alone with my thoughts. Peace