When do I need to start taking mucinex?

When should I start taking mucinex? Before my period is over? Right after it is over? And before my fertile window? And has anyone had it work for you when trying to get pregnant?

Had a miscarriage in Late November- mid December after trying for 7 years. And I’m desperate to get pregnant again! 🥺