How do I help a child stop wetting the bed?

See your doc. Start with a complete medical evaluation, this could be from some previously overlooked medical condition. If the child is in fact healthy, and over 5-6 years of age then hypnosis is a great therapeutic approach. Medicines will help temporarially but the bed wetting resumes as soon as the meds are stopped.