'Get out' in this context means get a result. The phrase basically means that If you try hard, you'll succeed, and if you don't try hard, you should expect to fail.
You put effort in, and get results out.
Not a very good explanation but I hope it helps.