Sun exposure on vacation with 1 year old

I know babies are not supposed to be out in the sun for long periods of time because of their delicate skin. What do you do if you're on vacation in a warm, beachy location? Of course you could continue to apply sunscreen all day but I still worry that LO would get burnt. Do you just avoid these types of spots until LO is a bit older?