If you haven't opened the pen you can use it up to its expiry date, even slightly after. If you started one and it's been left for 5 months, I wouldn't touch it myself.
I've used pens for around 12 weeks with no problems, always kept in the fridge. It goes against the manufacturer's guidance though, so you have to decide how much risk you're comfortable with.