Use the correct tense form:The bell rang after we (finish) our work.
The bell rang after we had finished our work.
This sentence is in the past perfect tense.