1. Ignore patents completely and hope for the best.
2. Have trouble sleeping, knowing that you might have to spend a large amount of money on a lawsuit that you will probably win anyway.
BTW, I live in Brazil where software patents are not considered valid.
But the above US companies could try to sue US residents for the patent violation.