social security and earned income

If I get a job while on SS, how does that affect my taxes?

For example, if I earn $10k from writing, will I have to pay taxes only on the $10k? 

Or will I have to pay on the total of my SS  plus the $10k?

Thank you for doing this!

 

Chris