Why Does My Phone Say No SIM Card?

Why does my phone say no SIM card when there is one?

.

How do I fix no SIM card detected?