Dear Samsung Member,
Greetings from Samsung Customer Support!
Follow the given link to resolve overheating issue:- https://www.samsung.com/in/support/mobile-devices/why-the-heating-issue-occurs-in-mobile-device/
To avoid battery drainage please turn off un-used options, decrease display brightness, turn off auto sync option, close background running apps.
Follow the troubleshooting steps provided in the given link tp resolve your problem: http://www.samsung.com/in/support/skp/faq/1101689
If issue still persist or for further assistance, kindly register your concern in Samsung members app (Samsung Member > Get help > send feedback > Ask question/Error report)
Thank you for writing to Samsung.
Samsung Customer Support