How did you lose weight fast?

I need to lose about 50 pounds within 6 months. Can you let me know what you did and how long it took?