Sorry this happened to you.
For others(USA), you should keep your credit frozen all the time. You can temporarily unfreeze when needed.