Welcome to Health care magic forum,
is not the side effect of mastrubation, its good that u have realised that ur hav become addict of it, mastrubate only when ur sexually excited will cause no harm.
Hair fall may be due to some other reason, may be because of nutritional deficiency
Consult skin specialist to find out the cause and to get proper treatment for hairfall.
Hope I have answered ur question.