Is the number 4 in Japanese shi or yon?

I've heard it used both ways
2 answers 2