don't feel discouraged just try to identify why you are failing. Is it down to lack of knowledge or down to effective preparation. In September 2015 I failed one exam and passed the other by 50% then I identified that I wasn't preparing efficiently. I spent less time revising and I passed both of my exams. Don't be discouraged, stay strong!
Failing is the part of everyones life and sometime it leads you to a bigger success.
Being a student of accountancy is to rationally and effectively apply your knowledge and this should be the strategy for your exams as well. In this case the knowledge is knowing the reasons of failure. You might be doing the hard work but take an opinion of a tutor or a senior after attempting a mock question and work on the areas where you are lacking at the moment.
If you have an option to appear in another exam than the one you are failing go for it with a fresh zeal and come back to this one later again more composed, prepared and oriented for a brilliant success.
Which paper are you stuck on?
Do not be wary