- Make sure you tighten the CPU cooler screws the right way (https://www.amd.com/en/support/kb/faq/cpu-7).
- Install the latest BIOS (Motherboard website) and chipset drivers (AMD website).
- Always load "Defualt"/"Optimized" settings at BIOS after an update.
- Choose AMD Ryzen Balanced Plan (power plans -> Win+R -> powercfg.cpl)
- Make sure your motherboard BIOS have any "GamingBoost"/"AutoOC"/"UberPerformanceWhatever" option Disable in BIOS. Otherwise this will probably OC your CPU without your knowladge.
- Go to the BIOS and disable every single PBO option you can find, usually there are atleast 2/3 options that needs to be disable, it will vary depending on the mobo brand and model, check the motherboard manual online.
- Make sure Cool&Quiet is Enable in BIOS
- For temps, voltages, and frecuency use Ryzen Master (which I don't like but is accurate) or hwinfo64 (sensors only option). For checking temps, frecuency, voltage, and what not while gaming use the latest version of MSI Afterburner (you can check Guru3D or MSI website for download).
- Don't use more than 1 monitoring sofwate at the same time. Pick one and stick with it.
- If posible avoid installing useless motherboard "centers" apps. Most of this software may mess with the CPU settings.
- Check to see you have good airflow in your case. Usually you want atleast 2 intakes fans bringin fresh air from the outside to the inside of your case, and at least 2 extra fans as exahust 1 at the back and 1 at the top (if your case have this option).
- You can also try to remove the side panel and see if the temps goes down, if they do then you have an airflow problem.
- If your case have a solid front panel (plastic, acrylic, glass) without any mesh or with really small one then the front fans may not be able to "breath". One solution, when is posible, is to move this front fans to the back of the frame they are stock monuted. This will give them about 20mm of space from the front solid panel so they can "breath" (Usually when fans are obstructed they may end up not spining all the the way up, and thus moving less air than what they can move, so yeah this is an important issue to take in consideration).
Be advice to proceed with caution, if youre not sure what or how to do something then don't, if you go ahead and do it anyways, do it at your own risk.
If you don't know how to do this or that, where is this option or that one, please be sure to se any of the many guides on internet, download the motherboard manual and read it, check forums threads for your particular hardware and/or ask someone with more knowladge or experience to help you out, specially if that person can be in front of the PC (sometimes a problem can be fixed in 1 minute if youre in front of the troublesome device).