Only problem with that sentence is jump should be in past tense: I jumped out of bed upon hearing loud screams.
Upon is usually used as a preposition, meaning it is combined with a noun/noun phrase to modify the sentence. The word itself has a similar meaning to the word "on." Examples, the prepositional phrase of the sentence is in quotes:
You will find the city "upon these hills."
"Upon his departure," the children proceeded to make a mess.