I would suggest that you see a doctor and get examined. These bumps could be due to any infection or fatty deposits. One differential is a lipoma. Lipoma refers to fatty deposits that may also involve the scalp. If filled with pus you may need antibiotics and antiinflammatories.Treatment will depend on the underlying cause. This is merely an advice and not a substitute for clinical examination. I sincerely hope it helps.
Best wishes and regards!