toddler bed

Rachel

so we just switched my 2 year old to a toddler bed because she kept getting out of her crib and would fall and hurt herself. She doesn't want to lay in bed and runs around like a nut. it takes 3 hours to get her to sleep. Any trick to get her to lay in bed and go to sleep ?