Firstly, there are a multitude of things that COULD be wrong, but the first thing to check is the focus. So depending on your confidence and/or willingness to get film developed either
1) Mount the camera on a tripod, focus on a clear contrasting, distant image (the moon at night, a telephone pole a mile away...), then open the back and apply translucent (cloudy) adhesive tape across the film gate. Then look at the image on the tape with a magnifier (I use a 10x loupe but other options like magnifying glass are ok). Does the image you intended to focu on come into focus? Try different distances, write down your results. try focusing by the image on the tape and write down the distance on the lens and then try using the distance on the lens and note what the viewfinder focuses on.
2) Do as many of these tests as you can with an actual film in place, taking clear notes for each frame, and take photographs at maximum aperture that you can develop and enlarge (or get scanned by the lab and enlarge).
You want to know which is wrong (and right) of the three possible issues
1) the focus of the lens
2) the image in the rangefinder/viewfinder and
3) the distance marking on the lens.
Ideally you want to be able to work out how the RF/VF distance and the lens markings match up with the actual focus. What you know now is that the RF and the lens markings do not match. But is either of them right? Maybe neither is? Maybe it's the camera, maybe the markings on the lens, maybe the whole lens setup.