I wrote the whole book about stopping doing stupid shit. Check it out http://whyprojectsfailbook.com
It's about project management but the principles could be applied to startups, business, software, etc.
Avoiding most common pitfalls and not doing stupid mistakes will get you really far.