yea seeing a doctor is the best advice i can give you.
your liver is hurting cause the damage from alcohol. i seen people die from this. every one knows that one property the liver does is detoxify your body. so you should go to the doctor and be completely honest with your alcohol consumption.