Well how long have you tried being consistent with training for endurance. It takes time my friend. You can start steady state on a treadmill at a low speed and gradually increase intensity. You can do a lot of hiit cardio which will increase your aerobic capacity. If you ask me you should be doing both. But stay consistent my friend that is the key to everything.
Maybe you should start by slowing down your pace and training endurance first? If you last only for ten minutes you're probably running way too fast which is a common beginner's mistake.
Three things to focus on: breathing, form and tempo. Work each one at a time. With two months of training (what kind? How often?) you should be able to jog for 30 minutes at a slow to moderate pace.
Warming up and stretching is really important too and at least for me it improves my performance a lot.