im 17 and i just got my first car that is a 4th gen 2008 subaru liberty.I bought the cars from auctions with engine damage,so i took the car down to the mechanics to see what was wrong with it,but unfortunately the car had rod knock

Just wondering if anyone would know what i would need to do to get the lights to turn off without changing the motor
i was told to get the computer out of the car i got the new motor out if anyone could let me know exactly what i would need to change would be great

