speedometer not working check engine light is also on on 2003 Dodge Ram 1500

Ok so My check Engine light is on and my speedometer isnt working what do I do??

Asked by for the 2003 Dodge Ram 1500
1 answer 1 comment
you should try replacing the speed sensor, ive experienced the same problem and it turned out it was a bad wire in the speed sensor, replaced it and everything worked fine.
thamks I'll give it a try