1) We use some / any in positive sentences:
I want some bread.
2) We use some / any in sentences with a negative meaning:
I never drink any alcohol.
I don’t want any mineral water, thanks.
3) In requests and offers in questions we use some / any:
Would you like some cake?