No alcohol. Low sodium diet. Limit animal proteins and eat more plant based proteins. There are also certain foods that are supposed to reduce ammonia, tomatoes are one I know of.
For the most part, the medications are going to be your best bet for management of HE, but your diet plays a big part.