Fresh rainfall is usually when people make the most mistakes and end up with mud stains all over their carpets. This is not all that hard to imagine, since you have forgotten that you are carrying mud in your home. Accidents do happen, so you need to be prepared to deal with every situation when it happens.
Cleaners Mooroolbark emphasize on the importance of preparing yourself for rainy weather, which has a lot to do with preventive measures. Introduce a non-negotiable rule that forces anyone, who stains to clean the mess created. This will teach all your family members to be careful, when they enter the house and carefully take their shoes off, when they arrive home. It would be best to convert the area around the door into the place, where shoes will be wiped off effectively. What I do is to position a small piece of old carpet and on top a door matt.
Everyone will have to wipe their shoes there as well as take them off, so that no accidents happen. But you can never expect for these to work all the time. It takes one accident to leave your carpet in a mess. The thing you have to remember most about stains of any and every variety is that pressure on them is the worst thing that you can do. The moment you realize you are tracking mud, take a sit to remove your shoes and avoid making steps using the whole of your foot.
You have made a few muddy footprints on your carpet, which is not nearly as fatal as you imagine, but you do need to take care of it. The thing that I have noticed is that the stain is better removed, when you let it dry. Cleaning Mooroolbark teams suggest you return with a small knife to scrape the top layer of mud. Then vacuum the area to suck the loose mud. If the stain is mild, then these will be sufficient to remove it, but should it persist, clean the stain with an aerosol carpet shampoo.