From the opening scene of Hamlet, the reader can infer that Shakespeare's audiences

believed that ghosts would avenge the wrong done to them in life.
believed that ghosts appeared to convey messages to the living.
could not believe in both ghosts and Jesus.
would cower and run away when a ghost appeared.