I have cot next to my bed, so my baby can just roll to there 😀
YIHATA Bed Guard for Toddlers, Long Foam Portable Bed Rail, Safety Bed Bumpers for Kids Babies Elderly with Water Resistant, Non Slip & Machine Washable Cover Fit in, Suitable for All Beds 1 Pack https://amzn.eu/d/awJ1VXq
Bed rails are safe after 18 months. They say it's not safe as the baby can become trapped and suffocate.