There are many different answers to this question which will depend on the exact terms of your retainer with your Solicitor. The answer below should only be taken as general guidance and you should ensure that your Solicitor makes the implications of losing the case clear to you given the manner in which you choose to fund your case.
If you lose the case then your liability for legal costs will depend on a number of factors and in particular the manner in which the claim is being funded at the point which the claim has reached.
In most cases where a claim is lost or discontinued prior to the issue of court proceddings then no costs will generally be recovered by the successful opponent from you.
Where a case is unsuccessful after court proceedings are issued then it is likely that you would be held responsible for your opponents costs . Where you have the benefit of a policy of legal expenses insurance then it is likely that your opponents costs will be covered by that policy. Where no such policy is in place then it is likely that you will be responsible personally for those costs.
Where a case is unsuccessful after court proceedings are issued then you will generally also be responsible for your own legal costs. Where the claim is being pursued on a conditional fee agreement then no charge will be made by the your Solicitor. However, in all other casesyou will be reponsible for your own costs save where a policy of legal expenses insurance is in place which covers those costs.