Could be any number of things. Pretty much impossible to tell from the above information only.
What car have you got? That will be relevant to being able to suggest a code reader. If it's a classic you may have to read the code using the connectors under the dash.
Hope you get to the bottom of it swiftly.