It can easily cost $200 to have a rug professionally cleaned. It’s also a hassle.
You can clean it yourself by placing a plastic drop cloth or tarp underneath it, then using a carpet cleaner. If you don’t have one, you can rent one at many different grocery stores, or borrow one from a friend. Make sure to vacuum it well, first!