Cut your losses
You do not want to feel a loser. And whenever you fail, you keep on trying. Well, in some situation this strategy does not work and leads to failures and a waste of time. Even if you have invested hours into a project that seems to be fruitless, we recommend you should admit that you need to switch and try something new.