Retirement tax questions

How do I figure out the amount of tax to be withheld from my pension and social security when also working in an as needed basis (<58 hous/month)