You could look into using loperamide for a few days to help with the mental withdrawal. You need to be careful though if you're doing this, as loperamide has a physical withdrawal as well.
Loperamide is immodium, the most commong OTC anti-diarrhea pill. It is a potent opioid, but it's not psychoactive as it gets pushed out again immediately after it crosses the blood-brain-barrier. It does bind to the peripheral opiate receptors which is the reason it will still have a withdrawal. It can be a good tool if used correctly. Do a bluelight search for "loperamide for withdrawal" and you'll find tons of threads with great info.
Other than that; try to keep busy whenever possible. (I know sometimes it's just not possible to keep yourself busy while in withdrawal, that's the reason I added "whenever possible".) If the w/ds are causing issues with sleep too, you could try an OTC anti-histamine like diphenhydramine or promethazine. They are not physically addictive, but are well known for their sedative properties. In high doses they have deliriant effects, which is something you should definitely avoid at all cost.