Prevent streaks and smudges caused by sunlight from appearing in your shots
Lens flare is every photographers nightmare. When shooting in bright sunlight, you may notice unsightly streaks and smudges appear across your images. This is lens flare, and it can really spoil your otherwise fantastic shots. However, there are some simple ways that you can prevent lens flare, so let us show you how.

Use a lens hood
If you shoot with a DSLR or CSC camera, your lens may have come with a lens hood. This is a tube of plastic that fits onto the end of your lens and shields it from the sun. If you don’t have one, then they are readily available to by online, or you could have a go at making your own by wrapping a strip of black card around the end of your lens. Just be careful that your lens hood is not visible in your photos, as in the image above.

Angle your camera
You may be able to avoid lens flare by simply repositioning your camera. You are more likely to have lens flare appear in your shots if you are shooting with your camera angled towards the sun. Try angling your camera down slightly, or recompose your shot so that you are not shooting in the direction of the sun.

Create a silhouette
Have a go at positioning an object, such as a tree, building or person, in front of the sun so that it blocks some of the light. This will produce a silhouette image that will look dramatic and reduce the chances of lens flare showing up in your shot.
Hi all what if you are photographing a sunset and getting lens flare and you prefer not to have it in the Photo ?
I use my hands to block the sun rays entering directly to the lens ! but without making the hand visible through viewfinder
!