Question: what to do when my 2 year old keeps getting out of bed?
Answer: Be consistent. ... 
Avoid making it feel like a fun new game (for your toddler, not you, obv) ... 
Explain what you are doing. ... 
Try doing a 'talk-through' ... 
Create 'sleep rules' ... 
Use a treat rewards system. ... 
The denial technique.