Theres a potential can of worms. I wouldnt even dare post this one out in the family board. Imagine the carnage!

There are a lot of differing opinions as to whether or not you even should stop this. And there is never a one size fits all approach so Ill tell you what we did.
Im old-fashioned on this issue and dont hold to the family bed concept. So I put a stop to that behavior immediately. There needs to be at least one sanctuary on earth that belongs just to mom and dad (as the kids will receive or take everything else
and ought to). When our son would try to climb into bed with us at night Id get up (and it was always me), gently pick him up and then tuck him snugly back into his own bed. Hed get kind words, hugs and plenty of reassurance that all was well, but hed also be reminded that he had a bed of his own and it was not ours. Sickness or nightmares were different. He was encouraged to wake us when anything was wrong, but even then wed get up with him rather then take him into bed with us. The only exception to this was if we were all awake and watching TV or a movie in bed. Once sleep time arrived, however, that was it.
If its been happening for a while, the habit may be tougher to break though. As for growing out of it
everyone is different. I know of families where older kids and even teens will climb into bed with their folks and Ive heard a few dads even say that they will just get up and sleep somewhere else in the house when it happens. I love my son dearly, but I absolutely adore his mother and intend to stay with her the rest of my life and long after hes grown and left us. There needs to be that one unshakable boundary where we will not be separated
even by our own youngen.