Sometimes a change of instructor can help, even if the previous instructor is very good. A change of approach.
And more practice, if possible, between lessons, out with a family member or friend. Depends on the person, some people get confused if practising in one car and having lessons in another. And you have to be with the right person who will support what your instructor said and give you confidence.
If it's a problem with being tested itself, sometimes talking to a counsellor/coach about this can help.
Also suggest an eye test if glasses not already worn and tests up to date, as sometimes a very mild prescription for driving glasses can make a difference in judging distances, dazzle from lights etc. (even when within legal sight limits without).
Lots of other good tips from PPs too.
Took me a few goes myself (and a change of instructor and a bit of a gap before final test). An (older) relative took double that over the course of a couple of years, passed in the end.