I have had lung surgery for my cancer. Will the virus affect me differently now?
The patients who have gotten sickest from COVID-19 are those who have had existing chronic issues, including respiratory issues. Relatively recent surgery from which you are still recovering may mean that you are at greater risk for becoming sicker as a result of COVID-19. Similarly, chronic respiratory issues from surgery may mean that you are at greater risk for becoming sicker as a result of COVID-19. Also, a history of surgery may mean you have less pulmonary reserve (the maximum amount of air your lungs can inhale) in case of an infection.
Reference