Involve your child in selecting what to wear to bed and which blankets and pillows to use for the night. Once your child is lying down, but won't sleep, you can stay in the room for a while, then leave for five minutes before returning. Make the intervals longer between visits. This assures your child that you are still nearby, but also gradually gets them used to being alone at bedtime.
If your child refuses to stay in bed, threaten to close the door. If the threat does not work, you can close the door and hold it closed for a minute. Open the door and put your child back to bed if needed, then hold the door closed for a minute or two longer – repeat this four times until you reach five minutes for the first night. Once your child is in bed and stays there, open the door and use praise, but do not go inside. If the restless behaviour persists for many nights in a row, then the period that the door stays closed can be increased, until the fourth closing interval reaches 30 minutes.
If your child understands language well and has the right temperament, you can avoid going into the bedroom if you are called at night. Rather reply to your child without going in and say how impressed you are with their ability to behave and sleep alone. Smaller babies need comforting and touch to go to sleep, while older toddlers and preschoolers respond better to strict schedules and routines.