Ok need advice

sweatpea🌈🍭

My son is 18months old and he’s just started climbing out of his cot what do I do?? I can’t remember with my first he was a lot older than my second when he started doing this xxx