B.C.
It took me two weeks of feeling like the worst momma ever and not getting much sleep ( and my little one was 3!!!)
Two weeks of picking him up and putting him back in his bed, no talking no negotiating...it was the HARDEST thing I ever had to do. I even had a baby gate across his door, but I would not close the door. Even when he would climb over the gate or end up asleep on the floor.
Two weeks...you can do it!!! Be strong!
( This was with my first born...I did not co-sleep with the other two because this was such a traumatic experience for me! )