While both some or any refer to an indefinite quantity, remember that some means 'part or not all of something', and any means 'all or none of something'.
Also, some is commonly used with affirmative statements, while any with negative and question sentences.