Bleeding in the second trimester

Rachel

So I started to bleed yesterday so I went to the emergency room. They checked my cervix and it was closed the baby heartbeat is strong. All that is wrong is I have a uti. Is there a chance my baby would be okay? I'm still bleeding so I'm a little scared because I don't know what going on.