Open Question: do you have to pay taxes for the increased value of a stock you own if you don't sell it?

Suppose I buy a stock and it increases in value but I do not sell it and decide to keep it. Do I have to pay taxes for the increase in value, or do I only pay taxes for it if I decide to sell it?