Hi, Hikari,
TIVE is the simple past of the verb TER (to have) (in the 1st person, singular). We call it pretérito perfeito in portuguese. ESTIVE corresponds to the same time and person (same inflection) but it relates to the verb ESTAR (to be - in the meaning of being somewhere).
Eu ESTIVE com ela ontem. -> I was with her yesterday.
Eu TIVE uma ideia. -> I had an idea.
Keep up your studies.