some: affirmative statements, offers, requests and in questions when you expect the answer “yes”

any: negative statements, questions

Have you got any bananas? No, we haven’t got any. But we’ve got some oranges.