Oh, I understand your question now.
In negative statements, only use "anyone," "anything," etc. There are situations when "some-" is OK but the rule is true 90% of the time.
I don't know anyone in this city.
I haven't eaten anything all day!
In questions and affirmative statements, both "some-" and "any-" pronouns are OK, but sometimes the meaning changes. This is because "someone" means "some one person," but "anyone" means "any person or people at all." (Same for something and anything.)
For example:
He dates SOMEONE who has blonde hair. (= He has one girlfriend. I don't know her name but she has blonde hair.)
He dates ANYONE who has blonde hair. (= He may have zero, one, or many girlfriends but he will only date blondes. Even if she is old, ugly, mean, etc. he will date her if she is blonde.)