Just the kernel? May be you mean a minimal system with only a command line. Then use a minimalistic distro or a minimum mode available in some distros like Fedora, and Debian.
Have a look at
LFS too. Don't know if this will interest you, especially if you are an absolute newbie.
Anyway, you need more than a kernel for a workable system. For example you would need a shell.