https://www.slab.org.uk/faqs/can-i-get-civil-legal-aid-if-im-a-child/
A child can apply for legal aid if you are old enough to understand why you need a solicitor to help you, and to ask a solicitor to work for you.
But you will have to go and see a solicitor first. You can only get legal aid through a solicitor.