Some households have little room for error as costs rise. Here’s how to build breathing room.