Just from my own experience with this sort of thing:
First, take Advil (I have no idea if it's narcotic or not), or some sort of anti-inflammitory stuff. It aint really for the pain, it's just to keep inflammation down, which is the important part. That's what Advil is good at.
Second: I know I say this like every 5 seconds but drink a lot of water. Something... something flushes out toxins something. Okay I dont remember the exact science there, my physical therapist explained it to me and frankly I didnt really understand. But yeah, it does help. You gotta get a lot of it though.
Third: For icing, what I'd suggest doing is to ice the area for... about 20 minutes, and then immediately after you're done with that, go have a hot shower. Again, I dont quite grasp the science-y bits behind this, but this was another thing I was very specifically told to do.
Fourth: DO SOMETHING. Doesnt matter what: Just something that's gonna occupy your mind. Play a game or watch a movie. Bonus points if it's something that gets you laughing. Or just... you know, whatever hobby might come to mind. So long as it really engages your mind yet doesnt require you to do something that causes any further pain, go for it. You gotta take your mind off of this.
So... yeah. I go through this nonsense really often, and that's what works for me and what I was told to do.
There are other things that can be of use, but whether or not they'll actually do anything depends on the nature of the injury. Like, I use a foam roll a lot, that helps a ton, but that's for spinal issues... I have no idea if that works on muscle stuff (it might be worth looking into though). If you've never used one of those, it's this long hard roll of what I think is polystyrene and you lay on it so it's along your spine (with a pillow under your head). Which sounds kinda painful, but it's really the opposite, typically feels very satisfying to do.