EVERY TIME I TRY TO SLEEP I EITHER GET A NIGHTMARE 5 SECONDS LATER OR IM WAKEN UP AND CANT GO BACK TO SLEEP. IVE BEEN STUCK AT LESS THAN 50 SLEEP FOR DAYS NOW

Gather unknown signals from deep, silent space · By
A few tips. First, if you really hate nightmares, you can just turn them off in settings in 0.9.
Second, most nightmares are "winnable" and if you do them correctly, they can give you some really good benefits, like 100+ hunger or stamina. Don't have to sleep if you win a nightmare and basically get a second-wind, allowing you to get even more work done before the end of the week for a nice, juicy weekly bonus, which helps your progression.
To reduce the frequency of nightmares, you can drink some coffee and go to bed. As far as I can remember, the more alert you are when trying to fall asleep, the less likely you are to have a nightmare. It also depends on how long you sleep, so sometimes you need to wake up. I follow this routine when sleeping:
1. Coffee until 50
2. Toilet
3. Sleep until 74
4. Toilet
5. Sleep from 79 to 100
6. And go to the toilet again