If you're coming off opiates the two best methods are either comfort meds or rapid tapers, or a combo of both. If you don't have access to either just spend a lot of time in the bath and as much time as possible sleeping.
Luckily i go full insomniac when i go into the first stages of withdrawal so i can usually sleep through most of the first 1-2 days.