Question: how to prepare onion juice to apply on hair?
Answer: Peel about four onions and chop them into small pieces.
Extract the juice out of the onion by either squeezing it or using a juicer.
Another option is placing the onion pieces into a blender and blending into a paste. ... 
Apply the juice to the scalp or the hair roots.