Suggestions how to start running

I am always wondering how people starts running 2, 5 or 10 km. 

I can not even run for 500m continously. Any suggestions on how to improve it.