You use the phrase ‘Hit the Sack’ to indicate that it’s time to go to bed.
Example of use: “I’ve got to get up early tomorrow, so I’m going to hit the sack.”
In the days before modern mattresses, people often slept on large sacks filled with hay. The term ‘hit the sack’ is believed to have come into common use before 1880.