From a Beginner Guitar player with Love😂
Basic Guitar Fretboard technique:-
The tip of the fingers are used on strings to prevent muting, clashing with other strings. Ergo, improving the overall sound quality.
Place your fingers closest to the fret but not directly on it.
ME :-
Ewoooo Torture😂

Source