If 3 rak'ahs of a four-rak'ah Fard are already complete when congregation begins, what is the basic rule?

When Congregation Begins during an Individual Fard or Sunnah Prayer