Hi Zobaer Islam,
Thank you for reaching Microsoft Community.
When the Surface heats up, do you experience some lags or system slow performance?
Is there a thermal prompt?
The Surface may become very warm during normal use especially when the device is under heavy load and also while installing updates. Device may become warm also when charging. However, it complies with the user-accessible surface temperature limits defined by the International Standards for Safety (IEC 60950-1 and IEC 62368). If the device overheats, it will shut down and display a thermometer icon on startup (if not cooled).
Please ensure also that all updates are installed by going to Windows Settings > Update & Security. Check also if Optional updates are available. You may also run the Surface Diagnostic Toolkit. See: Fix common Surface problems using the Surface Diagnostic Toolkit (microsoft.com)