It depends on the cryptocurrency you are using and the amount of network traffic at the time. Generally, transactions usually take a few minutes to be confirmed but can sometimes take up to a few hours.