Covid and pregnancy

I am currently 31 weeks pregnant and just found out I have Covid. Is it more dangerous while pregnant? Will my son be okay? Should I panic? What can I take to help with it? Sorry, I just worry about everything.