How to make it work normally? I must have pressed some shortcut and it changed some setting or something
Adjust your profile to .5 and make sure, you don’t have any snapping tools active.
Have you applied scale in object mode? Also, check your normals, could be an issue there.
And enable Clamp Overlap.