This is a really useful phrase in spoken English. Everyone does this from time to time. If you “lose it” it means that you got really angry or “lost control” of your emotions. This means almost the same thing as losing your temper. “Losing it” is more commonly used than “losing temper”
Here is a sentence that could be used in real life:
The boss must be really stressed out lately. He’s usually a really calm guy. A couple days ago some girl was only 3 minutes late for a business meeting and the boss totally lost it and then fired her.
I hope you enjoyed that lesson! I am sure it will be helpful for you. In today's world, it's important to sound great when you speak English with native speakers. Click on the link for an amazing program to Learn a REAL American Accent