I have itching problem in scalp due to some allergy(dermatitis)

I have itching problem in scalp due to some allergy(dermatitis). Can i take surgery as branch no mock please im very confused.bcoz i have no other choice