This red, capsule pill imprinted with TEVA 3147 is a Cephalexin 500 MG Oral Capsule, per the NIH.
Cephalexin is a human prescription drug. The active pharmaceutical ingredient is cephalexin and is classified as, "Cephalosporin Antibacterial [EPC], Cephalosporins [Chemical/Ingredient]."
This pill is made by Teva Pharmaceuticals USA Inc.
There are 3 other red pills that with a similar imprint: "TEVA 3147". They may be a different dosage of the same drug or a different drug entirely.