I'm new to cooking (recently moved out to college etc) and I tried salmon today. I added it with seasonings to a pan with oil, and trying flipping it etc. But the outer parts cooked really quickly and the inside wouldn't cook at first for a long time, and then the salmon flaked off into bits when I tried to see if the inside was cooked with a fork (gently, I must add).
Are there any tricks to cooking salmon right that I'm missing? I tried google, I swear but it didn't help.