AMD Wraith are fine for normal computer use but under very heavy loads it does tend to get very hot.
PCPARTPICKER website is an excellent place to find the proper CPU Cooler that is compatible with the Ryzen 7 3800X.
When I needed to install a 3rd party Air CPU Cooler in my wife's Pre-built PC that are quite massive in size for cooling a FX8350 processor so I went to PCPARTPICKER and found my wife's computer case. Then at the bottom it mentioned all CPU Coolers that would fit in that computer case.
Here is PCPARTPICKER CPU Coolers for the Ryzen 7 3800x: https://pcpartpicker.com/products/cpu-cooler/?compatible_with=qryV3C
Now go an click on your computer case under "Case " then on the bottom left side click on "View Compatible CPU Coolers". Then compare all the CPU Coolers that will fit in your computer case with the list for the CPU Coolers for the Ryzen 7 3800X in the link above.
NOTE: The Ryzen 7 3800X has a high TDP Rating of 105 Watts. So you will need a CPU Cooler with at least 150 Watt rating. The Maximum Operating Temperature of the CPU is 95c. That means when the temp start reaching or reaches 95c the CPU will automatically start to throttle to lower the temperature back to 95c or below.
Noctua has very powerful Low profile Air CPU Coolers that you can use but they are expensive. You an also install a AIO CPU Cooler that will fit in your computer case.
By the way, The AMD Prism comes with a tiny black switch on the outside of the Wraith case. One is for Silent and the other is for High Performance. Try setting the switch to High Performance and see if your CPU runs cooler. If not then it is best to purchase a 3rd Party CPU Cooler and keep the Prism as an emergency spare.