How to lose weight?

For those that have lost weight how did you do it? Counting calories? WW? Keto?? I’m over weight sitting at about 242 and I need to lose the weight….