Potential energy is the energy stored within an object. When you stretch a rubber band, you create potential energy by building up the energy.
Thermal energy is energy produced by heat. Atoms of an object vibrate, causing them to bump against each other, and that way produce heat.
Hope this helps.