You can clear your history on Firefox manually, or set it to clear automatically whenever you close Firefox.
You can clear your Recent Files in Windows 10 by going into your "Change folder and search options" menu.