If app is already installed in device then how can i write scripts for first five screen by using activity, here five screen have different actvityes

if app is already installed in device then how can i write scripts for first five screen by using activity, here five screen have different actvityes