How to do journal entries for stock.

How to do journal entries for stock.