If the child is older, have them strip and change the sheets in the middle of the night. Not as a punitive measure, but to become more aware.