It could be Seborrheic Dermatitis, I’ve had this for many years and my GP said it can’t be cured but I managed to control it mostly to a small patch on the nape of my neck. I tried every shampoo (baby shampoo made it much worse) oil and cream but nothing really worked. Now I buy Polytar shampoo and at first used it twice a week for a month and as it had spread all over my head and now it’s under control I use it once a fortnight and my usual shampoo in between. It’s still there on the back of my head but is much less itchy and flaky.
Maybe see your GP for a diagnosis.