This would really depend on the theme you’re using.
For the standard theme if you’re adding field to posts then it could be single.php. for pages, page.php. But like I said, it depends on your theme. Depending on the theme author it could be other files.