Pulse always rises suddenly

Optical heart rate works fine during easy long runs, but I have the same problem with all hard workouts