Hello, Sorry about these issues. This is called day and night enuresis. Please ask her to exercise her bladder sphincter muscle by peeing in interrupted fashion - starting and stopping, several times during one act. This will gradually build up tone of this muscle. Also you may get prescription drug like DDAVP nasal spray, or oral drug like imipramine.
If the problem is since infancy, it is called primary enuresis while if recently started, may be due to some psychological issues. Please consult your pediatrician for either condition.