Why does my 1994 Dodge Ram Van 250 6 cylinders check engine light come on after the van is warm?

Have vehicle scanned most auto parts will do this for free