Laying out in the sun while pregnant

Nicole
Silly question but is it okay to lay out in the sun when you're pregnant?