We need to know more ... but first you need to desgin your tables and to do some tables for tracking . Is good to know if you want something like history for this orders or not. After that you need to have something automated || human change for the status of this orders.
Regards