When magnet ingestion is suspected, a healthcare provider will typically perform a physical examination and obtain a detailed history. Diagnostic imaging, such as X-rays or ultrasounds, is often used to locate the magnets within the gastrointestinal tract. In some cases, more advanced imaging techniques like a CT scan may be necessary to assess the extent of the damage.