How do you get a child dry at night?

BB won’t get out of bed. I don’t mean in a lazy teenager way, I mean once we’ve said goodnight [...]