Its is a possessive adjective. It goes before a noun. It doesn’t have an apostrophe.
- The lion opened its mouth.
It’s is the short form of it is. It does have an apostrophe.
- I think it’s going to rain.
(I think it is going to rain.)
Now do Its vs. it’s · exercise 1