You have to be aged 13 years or older in most countries. In the USA, the Children's Online Privacy Protection Act (COPPA) requires websites that keep user info not to allow user accounts for anyone under 13. Many other countries have similar rules, and in some, you have to be older than 13. In Spain, for example, you have to be 14.