The answer is not that simple, as this would depend on the type of chorizo you have.
If you feel like reading a detailed article about the possibilities and different options to store it you can do it here: [How to Store Chorizo](/post/how-to-store-chorizo).
But if you want the short answer... - my advice: freeze fresh chorizo to keep it soft, otherwise let it dry in the fridge. Wrap cured chorizo in a tea-towel and keep it in the fridge - it should last 6 months in good condition. Wipe off any mould like any Spaniard would...and Enjoy!