Call your MD.
I would call your ob/gyn doctor immediately! i don't know what kind of worms your dog had, and whether they could have been transmitted, but any time a pregnant woman passes blood abnormally, this should be evaluated immediately.
If you can't reach your doctor by telephone in a short period of time, go to the emergency room. Bleeding can threaten the mother and baby.