Button position keeps changing when I change the screen type, different on mobile than PC

I’m using a Button component and its position is keep changing when I change the screen type, like when I use mobile its position is different and when I use laptop its position is different.

How should I fix this?

There is a component in Canvas called Canvas Scaler, you might need to change a few settings there if you want to make sure the button is relatively in the same position when changing screen types,
Optimally you need to have 2 different UI canvases for different types of screens for example a portrait and landscape screen.