These can only be used by certain Pokemon:
An Apicot Berry boosts Special Defense in a pinch.
A Ganlon Berry boosts Defense in a pinch.
X Defense and X Special Defense boost Defense and Special Defense by one stage each, respectively.
Note that X items and berries only take effect in battle, and wear off when the battle ends.
Hope this helps.