Can i vent plumbing out the wall?

Can I vent plumbing out the wall? What should I consider before doing this?