Ram- auto declock - bios how to fix manually

only happens sometimes not everyday on the freeze. but after awhile like say i plug in a usb, to load the pc, everything unfreezes. there so was weird.