Brand new pc with second hand 400 watt psu restarting randomly

snaved159

Prominent
Jan 3, 2018
3
0
510
A week ago I builded a brand new pc but I used a second hand circle 400 watts psu.
Plzz NOTE: pc was assembled and also windows and softwares were installed by a expert hardware engineer so, there is no chance for mistake.
After using 2-4 days it was fine but then pc started to restart randomly whether I am gaming,surfing web or just idle. Temperature of cpu varies from 26°c-28°c and temperature of gpu varies from 40°c-45°c. I have not tried any diagnostic yet.
Spec:
Pentium g4560
Gt 1030 2g gddr5
8gb ddr4 hyperX fury
Wd 500gb hdd
Gigabye H110m-s2 motherboard
Circlr 400 watts psu
Should I change the psu? Plz reply any help will be appreciated.
Thanx in advance