It may be nothing serious but I would recommend seeing a doctor.
It's not normal for an adult to suddenly start wetting the bed and if you suddenly started wetting the bed it could be a problem with your bladder or even kidneys and should be checked out by a doctor.
Even if turns out to be nothing serious then the doctor can prescribe you some medicine to help slow down urine production at night to help the bed wetting stop.