My samsung a52 5g has heating issue after the recent software update. Its too hot that the back cover of the phone opened up.
After a few minutes of browsing in Facebook, the screen and back heats up that sometimes its hard to hold the phone with bare hands
Try shutting down your phone for a few minutes, then turn it back on and see if the heating issue is still there. If the same issue still exists, I suggest to bring it to the nearest Samsung service center.
I use the Samsung A52 5G also, running the latest update, but never have issue like this. Only time my phone is heating is when playing high intensive games like Genshin and heat is still bearable.
A great practice I usually recommend (but a generic approach) is to perform a Wipe Cache Partition and Repair Apps through Recovery mode right after a software update, regardless if it's a major OS or security patch update. You can try that, but best to bring your device to the nearest service center.