Apart from English, what would be the second most important language?

Hi, I'm a second year bq student (4years in Spain).

I consider myself with good English. My plans are to do an Erasmus and maybe try to do a doctorate in Europe. Is there any other language that could be useful? I mean, for entering an university or just for social communication.