The thesis is concerned with finding strategies for optimal pay-out of dividends. First, the respective optimal strategy is determined for a restricted dividend rate and later for an unrestricted dividend rate. Then a reserve and the corresponding discounted cumulated dividend pay-outs are simulated under a predetermined barrier in finite time. Also, the ruin probability is estimated. In addition, numerical analysis are presented to show the impact of the model parameters on the probability of ruin.