Sun exposure

Now that’s it’s summer time, I’m wondering how long my 9 month old can be exposed to sun? I don’t wanna have to keep him in the shade all day, but I’m also scared of sunburns