Can I deduct the expense of putting in a chair lift in my house because I had a heart attack in 2023 and was told by my doctor not to go up stairs?

The only way to get into my house is by stairs. If I can deduct this expense, how do I do it?