Has she always wet the bed (never dry for a few months)? If so, her body may not be mature yet.
Don't punish her (she isn't doing this purposefully). Talk with your doctor about enuresis alarms which can help train her to wake up when she needs to pee. If she has been dry before, but not now, she could have an infection- see your doctor.