If you are not currently in the UK, you will need to apply to make your BN(O) visa application and obtain entry clearance before you travel to the UK. If you are in the UK lawfully, or if you fall within the exception for overstayers, you can apply to switch to this visa from within the UK.