If the weight of the furniture is not enough to prevent the rug from moving (and the furniture with it), you'll need to invest in a rug pad. A rug pad will help the rug stay in place on your floor.