Be more specific and add some code if you want a better answer like @nakov wrote.
You can also cast a validation when you have a file uploaded with an if statement like this:
if ($request->hasfile('photo')) {
$request->validate(['photo' => 'image|mimes:jpeg,bmp,png'])
}