How to survive the apocalypse

How do we help post-apocalyptic society avoid another Dark Age and reboot civilisation?