Carpet spots coming back???

I have carpet spots that are cleaned but then keep coming back after a couple of weeks.
I know this is a common problem, but I am wondering if anyone here has a solution.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.