I need some advice

Whenever I see success stories of people losing weight, it makes me want to lose weight too. So I always start but I never finish what I start. I usually stick to the plan for about a week then I get distracted or discouraged from working out. Any tips on how to keep a plan that I won’t stray from?