Pelvic bone is hurting when I turn to lying on inside. What should I do to fix it?

Bursitis. Sounds like greater trochanteric bursitis, which we are now discovering is more often a gluteal tendinopathy. If physical therapy and anti inflammatory medicine doesn't help, you could try a cortisone injection.