install linux-sources or kernel-sources whatever it is called from your package manager, for the version of the kernel you are using.
Or otherwise if you want a totally new kernel. Get a fresh one from
www.kernel.org
What exactly do you want to compile a kernel for?