Back wheel rubs against the back brake pad when riding
If it's rubbing while riding, but not when you're off the bike, it's either a spoke tension issue as noted by @earlgrey, or, you could have loose bearing cones that are allowing your wheel to flop around. Either way, a dangerous condition that you should have a local shop look into.