I have sharp pain that occur on my back near the liver. wat might it be

Most probably this type of pain come from kidney or ureter. It may be related to infection or stone. See doctor.