it's a very informal way to call somebody, such as "body" or "pal" but it's very infornal, if you call somebody "güey" and you aren't a very good friend of his, probably he'll feel you are being daring or unrespectful. you have to be positive about being a very good friend before using that word.