This post will explain the way a normal star turns in to a White dwarf...
Read this post on countinfinity.blogspot.com