Here are some examples:
* It's a beautiful day. (contraction of "it is")
* It's been a long week. (contraction of "it has")
If you are referring to something belonging to "it", then you would use "its" without an apostrophe.
* The dog wagged its tail.