Make sure your child only uses their bed for sleep in order to associate it with relaxation and a pre-bedtime ritual such as reading a book, rather than homework, gaming or playing with toys, for example.
Avoid using your child’s bed for time-out, or they’ll learn to associate it with punishment.