I just build my computer a month ago and I'm having some problems with it. When I put my computer in sleep mode or when I shut it down, it goes into sleep mode or shuts down but immediately boots up again. I then have to put into sleep mode or shut it down a second time for it to work. Do you guys know how to fix this issue?

Thank you.