Should I still go to work if I have throat pain?

Depends. If strep you may want to get it treated asap. If due to virus, inflammation, post nasal drip you may go to work.
If it is from an. Illness (strep throat, upper respiratory infection) then you are likely contagious and may spread germs to others.