We are sure you will not want this to happen again. So, search the cause why the dog dirtied the carpet in the first place. If this was a one-off thing, it is all right. However, if it turns into a routine, it needs to be curbed. Make sure that somebody is there when your pet wants to attend nature's call!