Since most people do both, it is worth looking at your bike fit rather than choosing which position is causing a problem. For most people, standing can be a relief after sitting down, and in turn after a while standing, sitting can allow certain muscle groups to rest.