When you are drawing multiple click objects like walls, polygons, etc. it is easy to make a mistake. To fix the last click, use the Delete key on the keyboard, it will remove the last click. Keep deleting to back to the start of your object. This works on almost every tool and command.