Very hard to help when the full DTC codes are not posted. There are hundreds of codes that some appear to be all the same. Go back to the autoparts store to have your codes read. Update the post with the full DTC codes.
Also, what model year car are we dealing with? How many miles? What kind of mods? These things make a difference.
In the mean time, start by checking your fuses (all of them inside the engine compartment and the passenger compartment).
Next, check the electrical connection to the speed sensor on the transmission tail shaft. Is it clean and tight? Any bent or pushed pins?
OBTW, many functions on the PCM need to know the car's speed. Possible for other DTC's to be related to a speed sensor problem. Does the speedometer work? Again, the car's MY is important. For example, the speedometer works differently on an electriconic car (96+) than an older electro/mechanical car.