Stars as suns : activity, evolution and planets