You can use a rug pad or non-slip grip underneath the rug. A rug pad adds cushioning and prevents the rug from sliding, while a non-slip grip adds traction and prevents the rug from bunching or curling at the edges.