Organize the baby's behavior
We should accept the baby's emotions, but we must organize some behaviors of the baby. For example, a baby crying to touch the socket is absolutely not allowed. We can tell the baby that touching this thing will hurt the body, and then take the socket away and give him something else.
Distract the baby.
For babies over one year old, attention is easily diverted. When the baby loses his temper, you can give him a toy that you like, or food that the baby likes to eat, so that the baby's attention will be easily attracted, so that he won't lose his temper.
Family members set an example.
Family environment has a great influence on children's health. If the family always makes a fuss and loses his temper because of a little thing, then the child will easily imitate the practice at home and lose his temper.