Shingles while pregnant??

Annie
Has anyone ever had shingles while pregnant?  On Saturday I started getting a sharp pain in my side by my ribs.  Went to the hospital, the did a bunch of tests abd couldn't figure out what it was.  It didn't get better so I went back to dr today and he diagnosed me with shingles!  I'd never heard of someone my age getting it! I'm on meds so it should clear up and not pose any risk to baby.  Just wondering if there's anyone else out there who has had it and has tips on managing the pain.