Camera failing and no sim detected?

For a while now my phone has been randomly giving me "no sim detected" notifications - it would then immediately turn off (power button - not a restart) and ask me to insert my sim again.

On top of this, if i open my camera app -> every now and then it would work normally, otherwise I would get a notification saying "Warning, Camera failed."

Not sure how to fix this.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0