Blood work at the ER

What do they check for when you're pregnant and go in for pain? and how long does it take for those results to come back ?