Gravy is a thick liquid that will stain your carpet, but you can work to get this stain out of your carpet.
What you need to do first is use a spatula or plastic spoon, and scoop up as much of the gravy that you can that is on the top of the carpeting. Scrape out as much of the gravy without making the stain larger. You can use a wet dry vac to pull up the gravy if you have a very large spill of liquid.
Use rubbing alcohol to dampen a cloth, dabbing at the stain until you are able to bring up most or all of the stain. When no more coloring is showing on your cloth from your efforts of dabbing you can move onto the next step. Never pour the rubbing alcohol directly on the carpet as it can destroy your padding and backing, just use a dabbing motion with your cloth.
To remove additional stains in your carpet, you can use a mixture of two cups of water and two tablespoons of dish liquid or you can add half cup of vinegar. Either method will bring up more of your stain as you spritz it on the carpet and dab it up with a clean cloth. When you have removed all of the stain or you are not getting any more color up on you cloth you can move to the next step.
Rinse your carpet stain with water and a dry cloth. Spray and dab so that you are bringing up any excess moisture and detergent in the carpeting.
Allow your carpet to dry for about an hour to see if all of the stain has been lifted.
To remove additional gravy stains in your carpet, use a spray mixture of one cup of water and a half-cup of peroxide. Spray this on the area and blot up, repeating two or three times. Then spray the area with the mixture and leave it sit for about an hour. Vacuum the area and if the stain still persists repeat this step again.