Sharp pain on my right side, hurts more when using right leg. Feels better when lying on left side?

Uncertain. Your question is vague WHere exactly does it hurt on the right side? Is it on the Righ foot, knee, leg, hip or arm? Does it hurt when you walk, run or climb stairs? Your pain is most likely musculoskeletal, but further information is needed to further refine the answer.