After you file

You pay taxes on the capital gains and any earnings the account makes during the year.  The consolidated 1099 you get from the broker each February will show these items.