it's or its  

Word

Explanation

Example

it's

Short/contracted form of it is or
it has

It's a boy. (it is)

It's been raining for five hours now. (it has)

its

Possessive pronouns never have apostrophes.

England is famous for its castles.