Pull out method

Does it actually work? How much of a risk of pregnancy is there?