Select the appropriate answer based on whether you do something before or after something else. Use the masu-form at the end of each sentence.