A margin call is a warning from your broker that your account equity has fallen close to the minimum needed to keep your trades open. Today it usually arrives as an alert on the platform or an email rather than a phone call.
It is triggered by your margin level. Many brokers send it when the margin level reaches 100%, meaning equity has fallen to the same amount as the margin in use. The exact figure is in your account terms.
What to do when it happens
You can close some positions, add funds, or wait. Waiting is risky: if losses continue, the account reaches the stop-out level and the broker starts closing trades automatically, usually starting with the biggest loser.
How to avoid margin calls
Margin calls are almost always a result of trading too large or holding too many related positions. Risking a small, fixed share of your account per trade and using a stop-loss on every position keeps the margin level far from these thresholds. The FXROLL guide to margin calls and stop-outs explains the full sequence with a worked example.