Hair growth or bad idea?

I want to buy folic acid & biotin vitamins and take them to help my damaged hair to grow out and be healthier is it okay to take these two together ??