What are the most effective diets and exercise routines?

There are many people on this site that focus a lot on fitness and health and I'd appreciate their help. In the past 2-3 months I've gained almost 20 pounds.
What are the most effective diets and exercise routines?
Post Opinion