Metformin?

Becka • Student and stay at home wife. Currently TTC baby #1. Starting assisted conception in June.
I started Metformin a week ago and am currently really struggling with side effects. I take 1000mg at bedtime but have been having insomnia since starting it but if I do it earlier I seem to have diarrhea. Any advice?