Take them to the vet immediately. They will assess the severity and recommend you to a groomer that will use special tools to remove matted coats that make grooming and brushing tedious for you and painful for your Chow Chow.