Pregnancy induced gingivitis

Well today I found out I have gingivitis. Bleeding and swelling gums. 
And now I'm hearing it can cause harm to the baby. I'm freaking out. :( 
I realize I just need to floss and brush more but still...... I don't want anything to happen to the baby :(