If you are determined to try and remove the stain yourself, that’s okay.
First, though, test the cleaning solution in an inconspicuous area of the room.
This should be behind a large piece of furniture, under a couch, in a corner, or somewhere that doesn’t get a lot of foot traffic and where you can’t really see it. If you plan to move furniture around in the future, and if this cleaning solution does damage to the carpet beyond what the stain does, you may be limited on just how much you can rearrange things.
Apply a very small amount to this inconspicuous area of the carpeting.
Let the cleaning solution sit for a while. Wait the appropriate time, as per the directions. Then blot up the cleaning solution.
Does it appear to discolor the carpeting or damage it in any way? If not, it may be safe to use.
Unfortunately, most stains require a bit more than just a cleaning solution; they require powerful section to draw up the water and cleaning solution and staining material. You’re only going to get that kind of power from commercial carpet cleaning machines with a professional and experienced carpet cleaning service.