What language are you using?
In most languages you do not need an escape key to print a single quote.
For example in Python you can write
print("I'm")
But let me just answer your question about escape keys.
You would need an escape key to display a double quote ("), as in the sentence
He said: "Hi"
You need the escape key there because a double quote (") by itself would terminate the string.
In most languages the escape key is the back slash (\).
In Python the above sentence would come out from
print("He said: \"Hi\"")
Try several combinations, for example
print("\"") prints: "
print("\\") prints: \
print("\t") prints a tab
print("\n") prints a new line