The primary structure is the "string' of nucleic acids and its information like an oligo sequence.
The secondary structure is the shape the primary structure takes after heating to 95 degrees and cooling. It is the unique folding of the primary aptamer sequence into a 3d shape (structure). It is this unique 3d structure that makes aptamers so specific to their targets.