Market closed at 4 EST, but if you have extended hours enabled, you’re still able to purchase shares until 8 EST.
Depending on if you did a market or limit order, you’ll either be buying those shares at whatever price it opens at at 9:30 EST (there are also premarket hours) or if you did a limit order at a lower price, you won’t get those shares and will need to modify the order.