Desirable difficulties

What are the testing effect, the spacing effect, the interleaving effect, and how can you avoid reaping any of the benefits from them????