After a while they just become part of the midday free flying experience. You can even work up slowly to frontal collapses by just tucking a little bit of the leading edge under. This is a standard part of inland intermediate instruction for free flying. This way when it happens for real you won't panic and over correct. Overcorrecting and not braking surges are the most common cause of problems with collapses.
Accidents are often the result of a series of mistakes and over corrections.
The result can be an escalating series of collapses, spins, spirals, and cravates. If you do the wrong thing on a high performance, or highly maneuverable wing, it can turn and dive and flick you up above the wing. If it gets all too much, so that you can't be sure of doing the right thing, then pull on about thirty percent brakes, grab your harness, carabiners etc to keep the brakes locked in this position and wait. A low DHV rated wing should recover by itself. If you are flying in conditions where collapses are possible you should definitely have a reserve parachute, but don't panic and throw it on your first collapse.