It all depends on what government does, or more importantly, what it does not do.
The quick answer: The less government does, the sooner we recover. The more government does (spending, taxing, regulating, etc.) the worse it will get.
The #1 cure--Less government (at all levels), reduced spending, debt reduction, less taxation, less meddling and regulation (both at home and abroad) and more individual liberty for people to solve their own problems.