Hair is full of knots

It doesn’t matter what shampoo or conditioner I use, every time I wash my hair, it comes out in knots! It’s so tangled up and it takes forever trying to comb through it. Does anyone have any diy masks or treatments that will help smooth and soften my hair? Thank you!