In general, it is safe to go on your roof, but to clean your gutters, simply use a ladder and remove the leaves. It should also be less dangerous to do it from a ladder.