MHS40 display calibrate

Hi to all guys
I built a Just raspberry and tft screen MHS 4" screen that display everything and work fine with an usb mouse but the touch is not working.
if I swipe the pen up and down the cursor goes left and right and so on.
how to solve in specific way?
I’m really a noob on this.
Please

There is a calibration thread that details the mechanism used for a 3.5" touchscreen this is also in the wiki. Sorry I’m on a phone so finding the links is a little suboptimal from here.