During the procedure, your doctor will insert a long, thin tube (catheter) into an artery and move it up into your heart. This procedure can be used to diagnose and treat certain heart problems.