Hi Anmol.
Please check this thread from our MVP and he has detailed steps about the decom process for SCCM - uninstall-sccm-primary-site, just make sure backups are in place in case you need to restore at later stage.
----
Please don't forget to upvote and Accept as answer if the reply is helpful
If this answer helped you please mark it as "Verified" so other users can reference it.