Check diode across relay coils as bradtheRad told... & Plz conform following things.. 103 disc capacitor between VCC & GND near to Microcontroller... check Power on reset pin dry soldering... jus add 2 or more 100Nanofarad box type cap betweein Vcc & Gnd as well as relay driver pins...