paskoi was doing my last set of dumbell rows and instead of pulling to my hip I pulled more towards my back 1-2 times and then it started hurting,i took some painkillers so the pain is less but it hurts when i do most movement with my arm
Is it the little area between your shoulder blade and your spine that hurts? You might have just used your rhomboid/some other muscle more than you normally do and its sore (pulling to your 'pocket' emphasizes the lats more, pulling higher up puts a little more stress on the rhomboid since you're more likely to pull your whole shoulder back)
If that is the case, get a lacrosse ball/tennis ball/something else and lean against a wall with the ball in that pocket between your spine and shoulder blade. Roll until your find the sucky spot and hang out there for like 20 seconds then start rolling around. If you only have a foam roller you can get close by hugging yourself tight to open up the area we've been talking about, then roll diagonally on the foam roller so it can dig in.
If I guessed your problem wrong then describe it with more detail and there's a good chance people might be able to help more haha.