How to improve your Mac's performance

Is your Mac slowing down or crashing for no reason?

What can you do if your Mac randomly crashes or kernel panics?