2014 Kia Soul

My check engine light is on and it is not going off. I have changed the gas cap and now it stays on. Before, it would come on after I pump gas and then may or may not go off after I start the vehicle and drive it. What could be the problem? Is there any way I can reset the check engine light so that it can go off?

37