What to take for a pinched nerve in my neck/shoulder?

Exercise and aspirin. Of course the answer may be different if the nerve is truly pinched & is either in the shoulder or in the neck. The best treatments for mechanical problems, like pinched nerve, are mechanical. Symptomatic relief with anti-inflammatories may reduce pain but more importantly allow corrective exercise to be used to lessen symptoms. Find out what caused your trouble, then do something about it.