If it's an employer's pension you may be able to get your money back if you've paid less than 2 years' contributions- ask the employer if this is the case.
There is a reason why mpension money can't be cashed in before age 50. The government encourages everyone to save for pensions to keep down the cost of supporting pensioners through pension credits etc. It gives tax relief to encourage us. In return the pensions money is locked away until at least 50. This is to stop people dipping in and early and spending their pension pot before retirement age and then leaving teh state to puck up the bill.
if it is a works pension and you have been paying in for less than 2 years, you can get the money back, but if you transfer the benefits into another pension, you can also reclaim the money that the employer has paid in as well.