Vitex and folic acid?

Amber
I've been ttc since April and I've been pregnant twice so far having miscarriages. My cycles are very irregular and I heard Vitex helps with that and folic acid helps prevent miscarriages. Is it safe to take both?