Procter & Gamble beat quarterly earnings and revenue estimates and also reiterated its fiscal 2025 forecast.