A stop-loss order becomes a market order when a trade has occurred at or below the trigger price you set when creating the order. This means that you could possibly end up selling some or all of your position at a price lower than your trigger price. For relatively illiquid securities your order may be split into transactions with several buyers at different prices and you could see a significant drop in price between the first part of the order and the last few shares.
To mitigate this, brokers also offer a stop-limit order, where you set not only a trigger price, but also a minimum price that you are will to accept for your shares. This reduces the risk of selling at rock bottom prices, especially if you are selling a very large position. However, in the case of a flash crash where other sellers are driving the price below your limit, that part of your order may never execute and you could end up being stuck with a whole lot of shares that are worth less than both your stop loss trigger and limit price.
For securities that are liquid and not very volatile, either option is a pretty safe way to cut your losses. For securities that are illiquid and/or very volatile a stop-limit order will prevent you from cashing out at bottom dollar and giving away a bargain to lurkers hanging out at the bottom of the market, but you may end up stuck with shares you don't want for longer than originally planned. It's up to you to decide which kind of risk you prefer.