Let’s say you have 10 pieces of the product and you don’t want to receive after orders are placed for 10 units.
If you enable stock management and enter 10 in the quantity field, then after 10 units are ordered,
this product will show a message that all the quantities are sold and there is no stock and same will be notified to you via email.
Make sure to update product quantity from time to time.