If you have an older cat or a cat with long hair, you may need to groom your cat if your cat to avoid its fur matting into clumps. The best approach is to groom your cat daily so it becomes a routine that your cat expects and (hopefully) tolerates.
If your cat soils itself, you may need to resort to drastic measures to clean your cat right away. That might involve wrapping your cat in a towel so you can clean and trim its soiled and matted fur. Just remember, sometimes you have to risk your life to care for your cat, even if your cat doesn’t want you to do it.