The photon model describes light as a stream of discrete particles, while the electromagnetic wave theory describes light as a continuous wave. However, these two models are not contradictory because they describe light at different scales.
The photon model is more appropriate when describing the behavior of individual photons, while the electromagnetic wave theory is more appropriate when describing the behavior of large numbers of photons.
In conclusion, the photon and electromagnetic wave theories are two sides of the same coin, and they both contribute to our full understanding of the nature of light.