Robot Vacuum going in circles

Mapping the house and my vacuum is stuck going in circles around a table leg continuously. I have moved it to a new location a few times and it just seems to go back to that same spot and continue this vicious circle pattern. How do I get past this?