Here’s what you can do to get rid of diarrhea from your carpet. The best thing to do is to prepare yourself mentally before the situation gets best of you. Do Not Panic! First and foremost, you must protect yourself and your home from the contagious enzymes that may contaminate your surroundings.