You didn’t write anything about which OS or camera app you are using.
But maybe, just maybe you have HDR photo mode activated or the autofocus takes a long time in bad light situations or because you can’t keep your hands still when you’re taking the shot…
Many possible reasons, you see.
Maybe you’ll find some hints here or at least some “good to know” information: