REGRESSED any advice!!!

My son turned two in January. He was always so great at using the potty, although little accidents maybe here and there and RARELY I was convinced he was potty trained. This past month he has been terrible. He has accidents in public, which he never did, he pees during the night which he hasn’t done that since November and he hates to sit on the potty. I don’t know what went wrong and I don’t know how to fix it. This has been such a stressful month and this just adds to it. Any advice would help.