It can be difficult to determine the correct use of homophones without context.
Here are some examples of the correct use of "it's":
It's raining outside.
It's time to go home.
It's a great day today.
In each of these examples, "it's" is a contraction of "it is".