Sunburn?!

So I was only out for 2.5 hours at the pool with my son and it wasn’t that insanely hot out but I burnt so bad. Will this hurt the pregnancy? I stayed hydrated and never felt too unbearably hot