How did you know you were having an ectopic pregnancy?

How did you know you were having an ectopic pregnancy? What symptoms should I look out for??