Pelvic pain at 24 weeks.

Pain pain pain! When i sleep on any side. When i am sitting for long hours. Is it ok?? Should i contact the doctor?