Sunburn and pregnancy

I was out on the beach yesterday with my daughter and was so concerned about her getting sunburnt, I myself did in the process. I'm 20 weeks pregnant and was wondering if anyone has gone through this. If so what did you use for relief?! Thanks for any help!