How are stock prices set

In what ways are stock prices set in different markets?