Normally, personal hygiene practices like washing hair shouldn't directly affect your tooth extraction. However, it's best to avoid any rigorous activity, including bending over, for 24 hours after the surgery to avoid dislodging the clot that forms in the extraction site. So you can probably wash your hair as usual, but be gentle and try to avoid any excessive movement. Do consult with your doctor or dentist to be sure.