My wife used a free technique called something like “couch to 5k” which works well. It get you to progressively improve from a short distance up to 5k - google it and take a look. Best of luck.
TrainAsOne is the way to go from 5K to 10K and above
"Zombies Run: 5K Training":
You get to play the role of a "runner" in training in a zombie-filled post-apocolyptic world.
It's a well-done story to help make fitness more like a fun game. Running from zombies to help save the world can be quite motivating and enjoyable.
https://apps.apple.com/us/app/zombies-run-5k-training/id5665...
https://play.google.com/store/apps/details?id=com.sixtostart...
There is also a regular game that tells a story while you run:
https://zombiesrungame.com/