The safest way to deal with alcohol withdrawal is to get medical help. I've done it myself, at home alone, and don't advise it in case you have an emergency.
Once you've detoxed, I hope you'll develop a plan for staying sober so you won't have to keep going thru withdrawal.