Although the flesh of nectarines and peaches is fine for your dog to eat, you do need to be careful of the pit.
The pit contains traces of cyanide and is also a choking hazard.
Never be tempted to give your dog canned fruits or ready prepared fruit salads.
These often contain a highly concentrated sugar syrup.