how do i get the service engine soon light to go off on 1999 Oldsmobile Intrigue

service engine light came on i took the car to local auto parts store and they read the codes and said the mass airflow sensor and the crank sensor were bad i changed the mass airflow sensor and the crankshaft positioning sensor but the engine light is still on how do i reset thisor should this correct itself

Asked by for the 1999 Oldsmobile Intrigue
First things first, what is the code? See this article on why the Check Engine Light comes on.

if you just guess, you will go broke before your car will fixed in most cases. there are thousands of codes!
that was no answer