Keep yourself hydrated and use a sunblock with higher spf. You're more likely to burn when pregnant. I know I do. It has something to do with skin changes and hormones.
Tanning outside isn't bad, going to a tanning booth is. Just make sure you stay cool and drink lots of water, you don't want to overheat!