Ovary pain in early pregnancy

Did you have ovary pain around 4-5 weeks pregnant? I know there is something on your ovary that produces progesterone until the baby can, can someone explain it?