The best advice for dealing with inversions is: try not to let it happen! If you do get to the stage where you know the boat is going to capsize, try to step over and onto the centreboard to avoid the capsize altogether.
However, an inverted capsize should be a straightforward problem, provided the crew is aware of the risk of entanglement as the mast and rigging sinks. Most modern boats have self-draining cockpits and will probably have a limited air pocket once inverted. While more traditional designs will probably retain an air void once inverted they are likely to require bailing once righted.
In the illustration opposite, the crew has moved to the stern in order to remain clear if the boat inverts. The crew is in a safe position to watch the helm onto the centreboard, where she can stabilise the boat on its side.