Camera for raspberry Pi3

Hi, I try to get a 5MP camera to work on a raspberry PI3. Can someone help me with a program for that, please.
Thank you