Braxton hicks, thigh pain and insomnia

At 30 wks and just getting beat up. Had 12 braxton hicks in the last hour. Feel like I have been kicked between the legs and pain going down my thighs. I have slept maybe 6 hours in the past two days and that is still keeping up with two kids, hubby, and three fur babies. Tried sleeping through it all but.... hurt too much. What should I do? Tired of going to the ER. Gallbladder has had me there 4 times in 6 weeks.