Contractions?

When baby pushes out and your belly misshapes and gets super hard and it's painful is that considered a contraction or baby pushing out? 38 weeks and their happening every 7-10 mins