I have a pain in my chest sometimes for about one minute to three. Can this be heartburn?

Yes may be. Or it could be something more serious like heart problems. See your doctor. Don't wait and ignore.
? ignore chest pain. Chest pain is nothing to ignore! the potential origin of your symptoms includes: heart, lungs, mediastinum, esophagus, musculoskeletal, pericardium (sac around the heart), pleuritis, bronchiitis, or referred pain from a remote site. Your doctor will be concerned about accompanying fever, blood with coughing, vomiting, shortness or breath, difficulty reclining, tenderness. Get checked please asap.