Because it was allegations of serious domestic abuse, and my ex wasn't represented, he had to pre submit questions to the judge and she asked me both her own questions and his.
His barrister will try to put doubt in the judges mind about what you say, it's their job. Yes it's upsetting, but you just have to stick to the truth and know that you are telling the truth.
Your solicitor should prepare you for the things his barrister is going to probe you on. Just think through your response to this in advance and also prepare yourself for the worst outcome that it is not in your favour.
Remember that it is the balance of probabilities, it's 49/51%. You need to convince the judge that your side is true.
Take your time in the witness box, don't rush your answers. The judge is there to listen to you. As for your ex partner, have a good look through their evidence too. That should give you an idea of what their angle is.
Hopefully your solicitor inspires more confidence in you next time! They're there to represent you, so make sure they do it! Lots of preparation, go over everything with them clearly. Mentally prepare yourself too
It will be horrible, and stressful, but it's something that needs to be dealt with for you to be able to move forward and not have to suffer the court process anymore