Unless it is restricted stock you can sell anytime. Dividends are either sent to you, deposited in a bank account or reinvested into the company stock.