Hi,
There are few approaches. First, you might want to do something similar to what @bgoodri does here, which is to sum terms until they’re really small.
Another thing you can do is adaptive truncation, which I discussed in my StanCon2020 contribution.