The best way to keep your dog from matting is to brush it regularly. A slicker brush will help with this and is great for most fur types, especially curly fur.
It important to find a balance between too shallow and too deep when brushing. Every dog's fur is different.
Run your fingers through their fur. If they catch anywhere, that spot needs to be brushed.