You pay estimated tax on the "quarter" you sell the stocks
For example, if you sell those stock this quarter, you submit estimated tax before end of Sept.
However, I am not sure if this is treated as "capital gain", it depend on if you have RSU or stock options