Yes, you have the option to cancel a buy or sell order after it has been confirmed, provided that the order has not yet been executed.
For U.S. stocks, please note that trading hours are from 2:30 pm to 9:00 pm (UK time).
Orders placed outside of these hours will be queued and executed once the markets reopen.