The occurrence of not being able to eat and sleep is usually considered to be due to excessive recent psychological stress, and the patient is in a state of high mental tension, which can lead to headache, insomnia, fatigue, and loss of appetite. Patients are advised to relax and take appropriate outdoor activities to avoid excessive stress, and the symptoms can generally be gradually relieved. However, if the symptoms persist and cannot be relieved, it is necessary to consider that they may be caused by disease factors. In general, if there is anxiety and depression, neurasthenia, autonomic dysfunction and other diseases, patients appear upset, worry, fear and other emotions, which may cause insomnia, loss of appetite, dizziness, general fatigue and other symptoms. Generally, self-adjustment of mind and relaxation are needed to maintain good mood, psychological intervention if necessary, and symptomatic treatment such as application of anti-anxiety and depression drugs. Some gastrointestinal diseases such as gastroenteritis can cause digestive system disorders, resulting in loss of appetite, stomach pain and bloating, which can lead to poor sleep quality and sleeplessness. In addition, diseases such as angina pectoris and hyperthyroidism can cause physical discomfort, which can affect appetite and sleep. Therefore, if you have trouble eating or sleeping, you should first adjust your state and relieve your emotions, and if you are unwell for a long time, you should seek medical help to identify the cause of the problem and treat it.