Zipping a zipper all the way up is an everyday activity few people ever think about, because it usually goes smoothly and effortlessly. But occasionally the two zipper halves refuse to interlock or stay connected, often because the small sliding device that marries the two sides of the zipper material is out of alignment.
There are two kinds of zippers:
When a damaged or worn slider does not push the chain halves together just so, the teeth are prevented from engaging one another. New slider tolerances are tight and precise to ensure proper closing action, but with repeated use and twisting a slight widening of critical slider gaps in two separate planes can occur. Often these gaps can be narrowed and proper zipping action restored.
First, examine the slider from the side, as shown in the images below, Crimp Slider Down Views 1 and 2. If the gap appears to be wider than it should be when compared to a properly functioning slider on another similar zipper, using a pliers very gently crimp on the the two sections, as suggested by the red arrows, to slightly narrow the gap. Be gentle and don't squeeze the pliers too hard. It's better to crimp a bit and test the zipper action, and crimp again if necessary, than to torque down hard on the first try. If the crimping action causes the two sections to come too close together, and the slider jams, gently pry them apart just a trifle using a screwdriver blade.
If that adjustment doesn't fix the problem, and the slider tail has split (open) ends, gently crimp as suggested by the third image below, Crimp Slider Sides. Again using pliers, apply a small amount of joining pressure to the two "bottom" or tail halves of the slider, i.e., the end that is closest to the floor when normally starting to zip up a coat or jacket. Two crimps may be necessary: first nudge the sides that are closest to your body when you have the garment on, then adjust the two other halves. Again, it's best to err on the side of caution, and not over-crimp on the first attempt.
Once the zipper is closing correctly, rub a candle or a bar of paraffin wax on the zipper's teeth to lubricate them.
Unfortunately, if the slider is made of plastic, these techniques won't help. Only metal sliders can be adjusted in this fashion.