Maintaining a stable sleep time is very important to regulate your emotions. You must put sleep in the first place and strive for 7 to 8 hours of high-quality sleep every night. If you have trouble sleeping for a long time, you can talk to your doctor about the temporary use of medications to help regulate your sleep cycle.