Yeast infection 😩

Can an untreated yeast infection cause preterm labor at 30 weeks 4 days? I've been having constant tightenings & one really painful contraction in my stomach since 7 am this morning. Did I need to go get checked out?Â