Hi,
You mean to pay buyer has deducted your TDS and deposited with the government. Am I right?
Did you file the return in that year showing capital gain? If yes, you might have claimed the TDS in that year. TDS should have been claimed in that year. You can't claim it now.
However, if the amount is huge and return has not been filed for that year, you can write to the commissioner of income tax for condonation of delay and upon approval you can file return and claim back TDS.