Do you say "es tut mir leid" or "ich tut mir leid"?

What's the difference? And is "es tut mir leid" even correct?!

Thanks for any answers!!
Update: Thank you! I thought it meant "I'm sorry"...ok my German speaking isn't looking good lol.
2 answers 2