Most medical negligence claims will settle before you have to attend court, although sometimes this happens just before the case goes to trial.
If the case does go to court, your legal team will be there to present your case and support you. Although you are likely to have to testify, you should not let this put you off. You are not on trial; you will simply be there to tell the judge what happened to you.