You might be able to ask for your passport and other documents to be returned if you’ve sent them with your application but need them urgently.
How you do this depends on whether you applied in the UK or not, and what type of application you’ve made.
You might have to cancel your application - you’ll be told if you have to do this when you ask for your documents back.