I would definitely recommend a topical for muscle pain. There are all sorts of lotions, oils, and balms that you can apply to the affected areas to reduce your pain and inflammation. Om Edibles makes a balm in a stick form (sort of like deodorant) that is super convenient. I always keep one around in case my back flairs up.
I would also highly recommend Sweet Releaf. They are are a fantastic brand that you will not be disappointed in. Om edibles is convenient, but I think Sweet Releaf fight the pain more effectively.