How to move from one file to another

while in Visual Studio Code, how do I move from one file to another? In the image below, I am working in the sample.f90 file then want to switch to the example.f90 file. I can switch between the files to make adjustments, but when I want to compile and print, i get the message:
bash: cd: recording-example: No such file or directory

Screen Shot 2024-03-06 at 11.07.44 AM

Well it depends on what /how you use to compile and run the source files. The simplest way is from the terminal in vscode.