When learning even standard triads, it's helpful to understand why the notes played are what (and where) they are on guitar. That makes finding other voicings much easier, as there are often several different shapes for a given chord. That's to do with the CAGED system.
So, knowing what notes constitute a new chord will help understand why the shape is what it is - and you might even realise there's another shape which has been missed!
Looking at a new chord, it's good to establish common notes between it and its neighbours. Perhaps fingers that don't even have to move, or one finger that needs to move a fret or across a string. All depending, of course, on the voicing decided upon (see above).
It's often possible (as with the simple 3 or 4 note chords like open E, A, B7, etc., to make the shape, and hammer the whole chord on in one go. Finger it all, then lift a mm or two, press down again. Raise that lift until the shape gets embedded in the brain.
A bit of a vague rather than specific answer as the question needs to contain more info., as asked for in my comment.