Hello martaali,
First, try cleaning the camera lens as there may be debris on it causing the black dot in your photos. If that doesn't work, going to Apple to get it fixed is the best option as the camera cannot be taken out of the phone by the user without disassembling the phone. Hope this helped!