Wear proper shoes that allow you to pivot and glide without sticking to the floor can prevent ankle and knee injuries.
If your shoes are sticking to the dance floor, here are some options in my opinion:
**Dance socks worn over sneakers (Note: Some dancers find these too slick)
**Stick-on suede soles to glued to the bottom of the sneakers
**Dance shoes/jazz shoes/dance boots with suede or leather soles
**Dance sneakers (Personally, I prefer suede-soled dance sneakers, as rubber-soled ones can sometimes strain my ankles. Other split-sole, non-suede styles exist, though I haven't tested them myself.)
**Low heel ballroom shoes