Protein in urine

I went to the hospital today and had protein in my urine and now have to do the 24 hour urine test. My OB says he doesn’t think it’s preeclampsia but kind of freaking out. Anyone else been through this?