Staying in the shade is an effective way to reduce sun exposure, e.g. you can use trees or an umbrella - what is most important is that it casts a dark shadow.
Though being in the shade it is still recommended that you use other protection - such as clothing, hats, sunglasses and sunscreen.
These guidelines are not exhaustive and you should always seek advice and guidance from professional if you have any doubts.