Depends on the degree of claustrophobia, but they generally give calming meds until they can sort out a more amenable treatment plan.
In order of severity:
It might be noted that space travel and claustrophobia don't always mix well, so it's a pretty rare circumstance.
...considering how Pax Humanis solve problems, the comparison is pretty apt.
RE: Challenge #03301-I013: To Preserve Life