Give us a clue - what year, make and model ?!
Some bikes have the rims laced perfectly centrally on the hubs.
And some bikes have the rim offset slightly to one side of the hub.
This can be say on the back wheel, where the sprocket complicates things and they moved the rim, by design, slightly over -
- so the sprockets line up AND the rim is still in the centre of the bike.
Or the front wheel of a Commando with disk brake, where the disk interferes with the spokes.
So they moved the hub to one side, and laced the spokes more vertically on one side, to keep the rim on the centreline of the bike.
You can either measure the rim offset BEFORE unlacing the wheel.
Or keep lacing the rims by trial and error, until the hub is in the right place and the rim is still central to the bike.
Measuring it first is the easiest, but lots of folks go the 2nd way, when something is not right at the 1st try !
Hopethishelps.