If you can replace it[‘]s in your sentence with it is or it has, then your word is it’s; otherwise, your word is its.