Hi Carlos.
That is an important current research topic.
Of course the Sun is the main driver in our climate - with no sun Earth would just be a frozen lump. The next question is Do changes in the Sun linked with solar activity change weather and climate here on Earth?
There are signs that the sun affects our climate and thus weather. For instance, there have been times in history when the sunspot number was quite low for a long time and parts of the world were colder than normal as well.
There is some information about that here.
http://www.gsfc.nasa.gov/topstory/20011207iceage.htmlThere is still debate about the connection, though - both about exactly how the sun affects Earth's climate and how much.
Terry