To buy a share, you place an order through your broker (bank or app). You specify: the security (its ISIN code or ticker), the side (buy or sell), the quantity, the order type and how long it is valid.
A market order executes immediately at the best available price: fast, but you do not control the price, especially on a small stock. A limit order sets your maximum price to buy (minimum to sell): you control the price, but execution is not certain.
A stop order turns into a market order when a price is hit: it is used to cut a loss. A stop-limit turns into a limit order: it protects the price, but may not fill if the price jumps past your level.
Validity: day (cancelled in the evening), until a date, or good-till-cancelled (often capped at one year). Before confirming, re-read side, quantity and price, and compute fees: €1,000 invested with 0.5% fees costs €5 to buy, then about €5 again to sell.
Examples
Rivane (fictional company) : Rivane is quoted €24.10 bid and €24.20 ask. You do not want to pay more than €23.80: you place a buy limit for 100 shares at €23.80, valid for a month. Two days later the price dips below €23.80: your order is filled at €23.80 (or better). Cost: €2,380 plus fees.
8 December 2005: Mizuho’s fat-finger error : In Tokyo, a Mizuho Securities trader was meant to sell 1 J-Com share at ¥610,000. He entered a sale of 610,000 shares at ¥1. The order could not be cancelled in time and the loss reached about ¥40 billion. Lesson: always re-read side, quantity and price before confirming; a sent order is a commitment.