At 4 weeks your period should just now be due.
Are you certain that you are pregnant? Pain in the right lower quadrant in early pregnancy
can be normal or can be something serious like appendix or a tubal pregnancy. You need to see a doctor immediately.