Usually, you use the apostrophe:
I earned a bachelor's degree in 1959. (I am a very old man.)
I did not have the time or money to study for a master's degree.
*****
In conversation, you do not need to include "degree":
I have only a bachelor's. So I could not get any jobs that required a master's.