How is share price determined in stock market

Are you referring to IPO pricing or secondary market price changes?