You don't. The loss gets carried over to future years when there may be basis.
Form 7203 may be required for 2021, though.