Note:
Dynamic Forms is supported on record pages for custom objects only. Reference Article – https://help.salesforce.com/s/articleView?id=sf.dynamic_forms_limitations.htm&type=5.
1. Add Record Detail Component.
2. Click Upgrade Now.
3. Add the fields to the Field Section.