Can a Yeast Infection affect AF?

If you have a yeast infection can it make you late for AF? And if you happen to be pregnant will using YI medicine hurt anything pregnancy wise?