As the property sold is land, you can claim exemption u/s 54F, if you invest in purchase of a residential house, subject to fulfillment of conditions specified therein. Alternatively, you may also invest in capital gains bonds and claim exemption u/s 54EC. After a lock in period of 3 years, the proceeds can be spent in the manner you like.
If you are planning to invest in the house and then sell it later within 3 years, the exemption u/s 54F will be withdrawn.