Yes, practise and I was wondering if there are some helpfull tips when practicing. Like stay relaxed and don’t move more fingers than you have to. And keep your fingers close to the fretboard.
What's your goal? Backing up your own vocals with simple songs? Billy Gibbons (lead guitarist/vocalist for ZZ Top) joked about entertaining audiences with the same 3 chords for 30 years.
You also can go to youtube and search: "tips for learning guitar." Peruse their suggestions, maybe?
It's a fluid process. Keith Richards discovered he played better if he removed the sixth string, an 'E.'
They all have their own techniques. Many play with their fret hand thumb hanging over the neck. Many think that thumb should be on the back of the neck for greater finger range. Etc. You have to find your own groove.