Hi, I'm from England, when we say "I'm losing it", it can be a version of "I'm losing the plot" or "I'm losing my marbles", which means to go crazy (in a forgetful way). So for example, if you were having a bad day where you forgot your keys, or couldn't find something, you might say "I think I'm losing it!".
However it can also mean to be angry. So if someone was being very rude to you or in an incident of road rage, you might say "I'm losing it!", meaning to lose your temper.
It really depends on the context but those are the only 2 kinds of instances I can think of when you would use that phrase.
Hope that helps!