First of all, no matter what happens, after the health code turns yellow and red, the correct way is to stop and report to your community or consult the local staff.
If you are not sure whether you are a space-time partner, you can do nucleic acid testing. After the report result is negative, you can also turn back to the green code through appeal; For some elderly residents with mobility difficulties, many communities have opened transcoding nucleic acid detection channels.