One is to have a good sleeping environment, that is to say, the noise in your resting place must be low, the bed surface should be comfortable, and the most important thing is to keep it dark.
The second is to make adequate preparations for sleep, that is to say, before going to bed, don't get too excited, which is not easy. In short, sleep is also a rare thing, so you should protect your sleep quality.