Ruling on using hair medicines