If you want to reinvest the gains you made, then you can follow Section 54. If you do not want to reinvest in property, then you will need to look into section 54EC, this section allows an exemption if the capital gain amount is invested in certain specified bonds. These 54EC bonds are issued by the National Highway Authority of India, Rural Electrification Corporation, and so on.