I would suggest being checked for lice first, then if you're all clear, check for dandruff flakes. Assuming it's dandruff, switch to an anti-dandruff shampoo until the itching stops and the flakes disappear. If it's neither, switch to a different shampoo, preferably one that you have used in the past when your head didn't itch.
Hope this helps!