I cannot provide medical advice, so consult a veterinarian immediately if you suspect a back injury.
Signs of a possible back injury include limping or difficulty walking, loss of bladder or bowel control, pain when touched or handled, unusual posture such as hunching, and lethargy or loss of appetite.
Keep your guinea pig calm and comfortable, limit handling, and ensure access to fresh water and food. Prevent injuries by handling gently, maintaining a safe cage, and keeping your guinea pig at a healthy weight.
A veterinarian is the best resource for diagnosing and treating injuries.