Sex(help)

Why everytime i have sex my vagina and uterus hurts so muchhhh and after sex too? I'm not a virgin,but i had 4 years without sex,and I started 3 weeks ago with my actual boyfriend.