The most obvious answer is -- you are out of shape.
You are still young, but not as young as you used to be. You may need to start slow and build up miles gradually. Also, stretch after warming up and after. With hip and knee (especially the outside/lateral part of knee) pain you may have a tight iliotibial band (itb). Google stretches for that. Good luck.