Painful baby movements

In 25 weeks and last night little one was kicking/moving loads, it makes me happy that she’s healthy but it was hurting so much!! My partner put his hand on my stomach to feel how strong they were and even he was surprised. Can anyone give any advice?