There's no set age that a child should stop sleeping with a teddy bear.
I've slept with teddy bears since I was a baby and still almost 40 years old I sleep with a teddy bear and my kids will sleep with a teddy bear until they no longer want too.
If they decide to give up the teddy bear that's okay but I'm not gonna take their teddy bear away.
There's nothing wrong with either a male or female sleeping with teddy bears or other plush toys for as long as they want.
I hear some people say they should take their child's teddy bear away by age 8 or 9 years old but in my opinion there's nothing wrong with a child or even teen or adult sleeping with teddy bears or other plush toys.
If it makes them comfortable at night and they love their teddy bears like I do then there's nothing wrong with any age of a child or teen or adult sleeping with a teddy bear.