So i'm programming a robot...

if (Lsensor == HIGH)  back_turn_right();
 else if (Rsensor == HIGH)  back_turn_left();

Please, don't confuse the pin number with the value read from that pin.