After you file

Assuming that you DID receive principal amounts in 2017 then you should have reported some amount of 2017 gain.  You may need to first amend that 2017 income tax return.