Prevention of obesity involves adopting a healthy lifestyle, including a balanced diet, regular physical activity, and maintaining a healthy weight. Developing good eating habits early in life is crucial.