Dyed hair, flaky scalp

I dyed my hair recently and now my scalp is very flaky. I have so much dead skin that I have to pull off. What can I use to make it go away completely?