In this pattern the predicative adjunct is a present participle(=go---->going)
You should call her-------Subject +vt
before going there--------present participle
=going after call
going=present participle. It is an error to use "goes".as the S is "You".