al seguito di "after" e "before" si usa (non in forma esclusiva) la -ing form...

ad esempio "i've to get to the supermarket before going home"