Since you have earned capital gains but have not offered them to tax, your only option now is to file an updated tax return.
Important financial updates for taxpayers, UPI users, and investors for January 2025; examine specifics on money rules.