2008 Toyota Avalon - Code

My car engine check light on giving code p0345andb1201whah should I do

Take it to a shop that can find the cause of both the P code and the B code.

The P0345 could be caused by several things. I can’t tell you to change the cam sensor or crank sensor because it could be either or damaged wiring.

The B1201 code is an airbag sensor code… I assume your SRS light is on? Could be the sensor or the wiring as well.