I accidentally told my family that we are pregnant.
Are you trying to figure out why you did that?
No, I want to know what to do now.
It's normal to wait an appropriate amount of time before telling people that you're pregnant.  They want to know about big events in your life and they want to be excited for you since you will be having a baby. I'm sure they will be supportive of you now that you told them.
I'm not sure.
Well, all you can do is move forward now that they know. Let them know how you feel and that you need their support right now.