Depends what you have available and how bad the carpet is, a decent carpet shampoo and rough sponge and give it a really good rub, if there's any marks that wont come out spray on some tar and glue and rub it in too then you'll need a wet vac and see what you get after that