Reset your bios to factory optimized settings, fix ram speeds etc.
Then go learn how to OC a Ryzen cpu, as much as you can. The theory is all the same, doesn't matter if it's on gigabyte or asrock or asus, it's all the same, only the specific names change according to vendors. Setting arbitrary GHz and just bumping vcore to a Ryzens max isn't OC, it's stupid. Read up, watch videos, ask questions, Google specific bios names, search relationships between settings and then do it all again until you are sure just what you are doing and know the difference between VID and vcore, what programs show what results, which programs to use for temp testing, what to use for stability, for how long, in what order....
OC is a hobby, and should be treated as such, you can't just dive in, change a few settings and expect everything to a) work right, or b) not cook the cpu or motherboard.