Colliders stuck in eachother

When I jump into a wall and I miss and land in the middle the wall collider and my player collider gets stuck in eachother and you can stand there forever, How do I make it so that I slide of the wall instead of getting stuck?

41924-stuck.png

Make a new physics material , set frictions to 0 and add it to your walls in their collider.