Bedtime battles - help!

Ca

My June ‘18 baby is now a strong willed 3 year old. Have any of you struggled with your kid not staying in bed at bedtime, and what strategies have worked for you? I’m desperate! And due with baby #2 in 4 weeks so I know the problem is only going to get worse especially if I can’t do something to help before baby comes