Can home improvements be written off on taxes?

Can I write off home improvements on my taxes, or how does that work?