Order Cancellation

Hello, can orders be cancelled? If so what is the timeframe for an order to be successfully cancelled? Thanks.