Following up to “You will grow out of it”:
I don’t want to encourage pessimism. Nearly everyone does outgrow it, almost all (97%, if this and many similar surveys are accurate) by age 10. Even 7-year-old bedwetters are overwhelmingly likely (80%) to stop by age 9.
Parents tend to start worrying about bedwetting at a ridiculously early age (3 years, if this study is to be believed). Judging from postings on the internet, worry becomes obsession by school age.
Doctors, on the other hand, are generally unconcerned about bedwetting per se up to age 7, and downplay concerns even up to age 10. And with good reason; almost everyone in those age cohorts does outgrow it.
On the other hand, doctors are concerned if there are other symptoms of something other than late-developing hormones or bladders.
The pessimism is for teenaged bedwetters. That study indicates that a child that wets at age 10 is probably still going to be wetting at age 20. That’s a very tiny fraction of the population, but it’s a real problem for those in that fraction.