It is the wrong regime of the day that can often cause significant disturbances and failures in the child's sleep mode. If your baby goes to bed too early or, on the contrary, too late, sleeps a lot during the day and moves a little, it goes without saying that he will sleep badly at night. Dealing with this problem is not difficult, but for this you will need time and patience.
Source
Parents should develop the correct daily routine and try to comply with it as clearly as possible. Vigil and sleep should alternate in such a way that most of the sleep time falls precisely at night. It is impossible to say unequivocally how much a child should sleep at night. However, the less time a child sleeps during the day, the stronger his sleep will be at night.
In addition, one must carefully address the issue of organizing leisure activities for a child. During waking hours, the child must constantly participate in some form of strenuous activity. Do not forget about physical activity. If the load is insufficient, the child sleeps little at night. A one-year-old baby, who has walked a certain distance on his night walk, will sleep much more than if he had traveled the same distance while sitting in a stroller.
Source
However, in no case should you stress the child's nervous system with excessive impressions and active games in the afternoon. Otherwise, despite the natural physical fatigue, the child's nervous system will overload due to the excess of emotions received and it is unlikely that he can fall asleep easily and, on time. It is not in vain that every morning and holiday of the children takes place, as a rule, in the first half of the day.
But do not expect it is enough to develop a daily routine and the child will adapt instantly to it. Getting used to the regime must be gradual and systematic. For example, you chose bedtime - 21.00. If your child is accustomed to going to bed around midnight, he cannot teach him to go to bed at 3 in 3 days.
Every day, change bedtime between 15 and 20 minutes until the child gets used to sleeping at exactly 9 o'clock. However, one should not forget about the lifting time: it is also necessary to move and raise the child earlier than usual.
Source
Also, make sure your child enjoys the rides when they go outside. Walking outdoors is very useful for the overall harmonious development of the child's body, has a beneficial effect on his nervous system and significantly improves the child's sleep. The lack of walking can also explain why a child does not sleep at night.
Source for information:
https://www.conmishijos.com/salud/enfermedades/trastornos-del-sueno-en-los-ninos/
https://www.bebesymas.com/momentoschicco/como-evoluciona-el-sueno-de-los-bebes-y-por-que-es-importante-saberlo
https://www.dietistasnutricionistas.es/la-alimentacion-influye-en-la-calidad-del-sueno/