Dash light won't go out

Jim, not an expert, do you know when/what conditions the light came on and how long has it been on? Reason I ask, I recall two different vehicles of mine made in the last century that had to have the computer replaced to turn warning lights off. I figured the error got burned into the memory after being on for too long.