Paint the walls a color you like and that doesn't clash too much with the floor. For example, if you have bright green carpet, choose a neutral color such as gray or white on the walls instead of a color such as red or yellow.
Hang curtains in your windows that fit into the frame. You want to avoid curtains that reach to the floor, because they will draw the eye back to the carpet.
Hang visually striking, large pieces of art or framed posters from your favorite films on the wall to keep the eye focused on the walls, not the floor. Another option is to hang a collage of smaller pieces of art or photographs across one wall. A large mirror can pull focus away from the floor too.
Coordinate your textiles with the carpet color. Your goal is to have the carpet be almost unnoticeable, so avoid having throw pillows or blankets on the couch that clash with it. If the carpet's brown, look for tan or khaki blankets or pillows.
Conceal large portions of the carpet with area rugs. Choose rugs that are at least 5-by-7 feet and that coordinate somehow with the carpet.
Arrange your furniture to cover up areas of the carpet that are particularly worn or ugly. If you've inherited a stained, dirty carpet, place your couch and other living room furniture over the most stained areas.