This site tells you everything you need to know about the excellent public transport network in Berlin.
You can buy tickets ahead of time via the app. This is useful since the station at Schoenefeld is always crowded with people trying to operate the machines - and failing