I suspect this is happening due to the performance of your computer or the lack of enough processing power. Try closing all the background applications that you don't need. Additionally, you could set the priority of the application you're using to a higher level.
Right click the taskbar and locate the application in the list. Right click it and go to Details. Locate the process in the list, right click it again and select Priority, then set it to High or Above Normal. Experiment with these levels until the software is working as intended.