Where were you/what were you doing when you had the pain? I've had quick, sharp pains when I've been lying down and got up/turned too quickly or also when I've coughed or sneezed and thats perfectly normal. I think you only need to worry if it is persistent and accompanied by bleeding/spotting, but it wouldnt hurt to mention it to a doctor/midwife.