pcos metfomin light period

sa
i have long irregular cycle (35-40) days
i start taking metformin this month and i got brown light disharge (may b periods) two days earlier than expected date of periods.
is anyone else experience the same situation of light period after taking metformin, also bcz of this medicine i feel diarea and nausea