Pregnancy pain question

Rebecca
Started about 4 hours ago...having a lot of pain under my ribs above my bump. Mainly right side. And my lower back/kidney area is hurting a lot. When I stand up everything goes dark like I will pass out but I haven't yet. 39 weeks my BP has been good the whole pregnancy. Could it be his position, or should I call the dr?