Neither you nor the attorney will get paid upon losing the case. However, you should be aware that other charges such as court filing fees, the cost associated with deposing witnesses will be paid regardless of whether you win or lose.