Baby having a fit

I'm 28 weeks tomorrow and last night my baby just started going crazy. It kicked and thrashed around no matter what position I was in - woke me up! Went on for maybe an hour. This morning it's just nudging around like normal but I'm kind of sore all around the uterus. Is it ok?? I have an appt already scheduled for this week, just curious if this has happened to anyone.