” I have not failed. I’ve just found 10,000 ways that won’t work.”
-Thomas A. Edison
I really really like this quote. Even if its seems like you are failing that may not always be the case. You might have just not found the right way yet. Continue to keep trying to find the right way. You might still succeed if you keep trying.