You need to be somewhat familiar with prime ideals and radicals. In particular, the radical of H, written rad(H), is the intersection of prime ideals containing H, or, equivalently, the set of elements x such that some power of x lies in H.
Primary ideals are a generalization of prime ideals; hence prime ideals are primary. In a laskerian ring, every proper ideal is the finite intersection of primary ideals. In some cases an ideal is the product of primary ideals. Let's start by looking at primary rings, then we'll define a primary ideal.
A subring of a primary ring is primary.
An integral domain, with no zero divisors, is primary.
Let R have one prime ideal P. Let xy = 0. Suppose the powers of x do not reach 0, and drive 0 up to a prime ideal Q missing x. With one prime ideal, Q = P. thus P does not contain x. Now x is a zero divisor, and is not a unit, hence x is contained in a maximal ideal that cannot equal P. This is impossible, hence x is nilpotent and R is primary.
By the above, the ring of integers mod pk, with one maximal ideal, is primary.
Every prime ideal is primary.
Let H be a power of a prime ideal in a pid. Say H = {pk}. If xy lies in H, then xy collectively contains k or more instances of p. If x is not in H then pk does not divide x, and y takes up the slack. In other words, p generates y. This means pk divides yk, and yk lies in H. This makes H a primary ideal.
A similar proof shows the contraction of a prime ideal is prime. It works because a subring of an integral domain is an integral domain, making G a prime ideal.