Dandruff and scalp sores

Anyone else have sores on their scalps caused by dandruff? Literally there are scabs on my scalp that I can scratch and they start to bleed. Anyone else have this issue and/or know how to fix it? If you have them, do you scratch them?