We are aware of a variety of geometry issues in Borderlands 2, and have received some reports of players getting trapped on the terrain, or falling through the ground. Depending on the location, players may be able to walk under the terrain, or may fall forever.
If you do get stuck, the simplest workaround would be to reload your game, which should spawn you at the closest fast travel location.