That's not a lot of info to go on, best bet is to take it to a parts
store that will scan for free(i know autozone does this) they will tell
you what the code is. Then buy yourself a chiltons service manual for
the truck, or better yet go to helminc.com and get a factory service
manual(expensive but worth every penny). Either of these manuals will
have a diagnostic chart for each trouble code, ie check resistance from
here to here if less than... replace....