Most grassroots club motorsport does not require competitors to have any special licence. All that is needed is club membership. However, for more ‘serious’ events you will need a Competition Licence.
There are various different licence types, and grades within those licence types, so you need to make sure you know which one you need before applying for it.