How did magic work in Ancient Greece?

I'm asking this over in the mythology sub, but I'm also interested in if there were any "magical" practices in ancient Greek society that normal people would do.