Gynaecology & Obstetrics

A women presented with amenorrhea since 8 weeks, acute pain in abdomen & vaginal discharge. Which is the best investigation, if available, needed to be done to rule out ectopic pregnancy :-