Turn the camera to see, the ground in the sky and the sky on the ground, put everything upside down

As you can see in the image, my camera is positioned behind the ship, but when doing a 180 ° turn the camera does not rotate, I explain, I wish that when doing the 180 ° turn what is below is above. If someone knows how to make the camera rotate the way I want it, I really appreciate it

Perhaps you’ve already figured this out, but for future reference you are much more likely to get help if you provide an example of your code.