If you earn under the personal allowance tax threshold of £6,475 in this tax year (April to April) you will be able to claim the tax back. Even if you earn more than this you may be able to claim some tax back depending how much tax you paid during the time you worked, as you should only be taxed on the amount you earn over £6,475.
As others have said, some more info would have been useful....