Hi Ankit,
It depends on what code you are running on ASA at the moment and what version you need to upgrade to. Look for release notes of ASA OS version on the internet that you want to upgrade to and it will provide you the steps.
Regards
Dinesh Moudgil
P.S. Please rate helpful posts.
Cisco Network Security Channel - https://www.youtube.com/c/CiscoNetSec/