I find that taking a break from screen time well before bed helps me sleep better. I try not to look at any screens - laptop, phone or tv, an hour leading up to my bedtime. I also like to take a warm shower and listen to some calming music. There are many playlists on Spotify with songs designed to help one relax and sleep. Reading a book, journaling, and deep breathing exercises also help create a peaceful aura around you.
Also, keeping the room dark and cool is a must for a good night's sleep. I've also heard blue light affects our sleep patterns, so avoiding any blue light sources an hour before bed could be beneficial - warm-toned lights instead perhaps?
Some people also swear by sleeping masks and white noise machines to create a serene environment. They block out any distracting lights and sounds that may disrupt your slumber.