First make sure your not having a medical issue preventing you from building stamina.
. With that said, run a set distance or time and then walk an equal set distance or time. The next time shorten the time or distance you walk slightly. Keep doing this until you aren't walking anymore...Stamina built!