There are a few ways to get coffee smell out of carpet. One way is to use a vacuum cleaner with the hose attachment to suck up any coffee that has built up on the surface of the carpet. Another way is to use a steam cleaner and bucket to clean the area where the coffee was found.