AI Walk off wall

Ok, so i made an AI that walks around, and when my AI walks into a wall, he just stays there continuing to walk into that wall, so i was wondering if there was anyway i could make my AI walk into a different area after walking into a wall, Please help!

What exactly is your setup? Your AI shouldn’t walk into walls when properly setup.