You use "someone" when you do not know the person and there are too many people around.
You use "anyone" when you're talking about a person within a specific group of people.
Usually this word when you're asking questions squatters. Example: Did anyone eat?
Hope will help .... Good luck!