Noise that resets a device that I would like to avoid from chip reset pin
1.first of all you need isolate the ac part from dc part of your circuit.
note that you can use some element such as optocupler
2.use shiled cable to your device if needed.
3.apply the polygon pour to your pcb.
4.add a metal surface which connected to the ground, under your dc part.
5.if you have any relay in your circuit, use snaber on it.