Some of the products on Printify are not in Stock, what happens when someone orders on my Shopify?

I have just noticed that some of the products on Printify are not in stock, what happens when someone orders on my Shopify website? WIll the customers get the money back automatically or do I have to give them back manually?