You need to hold a hedge (a derivative) that will have the opposite effect from the short position you are holding. Lets say that you have a short position (basically expecting that the prices will go down) but you also have a put option or the right to sell at a specific price. The derivative will effectively mitigate the movement of the short position.