Professional Indemnity Insurance (PII) covers legal costs and expenses incurred in your defence, as well as any damages or costs that may be awarded, if you are alleged to have provided inadequate advice or services that cause your client to lose money.
The client would have to prove that the advice you gave was negligent and that they have suffered financially as a result.