How would you save the European Union?

The EU has hit a rough patch. Britain has chosen to leave, other nations are considering leaving. If you were to advise them, what would you suggest the best course of action would be to save the EU?