Suggestions for rendering Lens Flares in Cycles

Hi, as in the new versions of Blender we are experiencing important changes in Cycles engine, we have received reports about strange issues while rendering lens flares with Cycles. So, here I show the correct method to adopt, for now, waiting for the new versions of Cycles and for new solutions that we are going to add to the add-on.