How do you get change engine oil light to go out after you change oil?

If the light was on before you changed the oil and you now have the correct amount of oil, and correct viscosity, then it can be that your oil pump is defective. not putting out enough pressure. if you have an oil gauge, if that shows oil pressure is OK, then your light can be shorted out.