Hair growth

Should I take folic acid to grow my hair and nails or is there other vitamins that work?