Off center scaling

how do i get i to scale in the center

A little more context would be helpful. But in general your scale and rotation happen around your Origin. In Object mode, you can select your mesh and set the origin from the Object menu. (see below)

image

here is the problem