Safe and most effective ways to lose weight?

I'm 222 and would like to be under 180. I know it'll take some time, but what works/has worked for you?