Pain in back when I inhale or move?

Many things. There are many muscles in your rib cage that could ache with either breathing or moving. Additionally, the lining of your lung, your diaphragm, or other muscle/tissue could be inflamed or injured. As there are many possibilities, see your doc to get examined .....