What should a company consider before entering a foreign market?

What should a company consider before entering a foreign market?