Here is a modern review of the problem of ruin for the classical Cramer-Lundberg model and the surplus of an insurance company. Covers martingales and path decompositions for analysing distribution of the time of ruin, wealth prior to ruin and deficit at ruin.