It took me at least a couple of months of regular running before I could run consistently on flat terrain without taking walking breaks (and almost a year to consistently manage long up-hill sections).
Consider taking it much slower and do intervals between walking and jogging (I'd do it by feel instead of timing exactly). Over time increase the proportion you jog.