How to handle multiple slash commands simultaenously?

When multiple people run slash commands on my bot, it always makes the commands fail until the current process is completed. How do I make it so people can use multiple commands at the same time?
Was this page helpful?