Cervical pain

My boyfriend accidentally hit my cervix multiple times during sex and I can't get it to stop hurting. What should I do?