Market, limit and stop orders: which one, and when
Knowing every order type is knowledge. Choosing the right one while your heart is racing is a separate skill, and the second one is the one that costs money.
A market order says: do it now at whatever price is available. You get speed and certainty that the trade happens, but not certainty about the price. In a fast or thin market the price you get can be noticeably different from the one you saw.
A limit order says: only at my price or better. You control the price but give up certainty. If the market never reaches your level the order simply sits there. That is not a failure. It means the market did not offer your price.
A stop order sleeps until the price touches a trigger and then acts. It is most often used to exit a losing trade. Think of it as the order that works while you are not looking.
A simple way to choose: use a market order when getting in or out matters more than a few points, use a limit order when the price matters more than timing, and use a stop order to protect yourself from a loss you have already decided to accept.