Abstract. Heavy flavour mesons are used as powerful tools for the study of the strongly interacting medium in heavy ion collisions as heavy quarks are sensitive to the transport properties of the medium. In these proceedings, D 0 nuclear modification factors, comparing the yields in PbPb and pp collisions, and azimuthal anisotropies in Heavy quarks are effective probes to study the properties of the deconfined medium created in heavy ion collisions. These quarks are mostly produced in primary hard QCD scatterings with a production timescale that is shorter than the formation time of the Quark Gluon Plasma (QGP) [1,2]. Therefore, they carry information about the early stages of the QGP. During their propagation through the medium, heavy quarks lose energy via radiative and collisional interactions with the medium constituents. Quarks are expected to lose less energy than gluons as a consequence of their smaller colour factor. In addition, the so-called "dead-cone effect" is expected to reduce small-angle gluon radiation of heavy quarks when compared to both gluons and light quarks [3][4][5]. Energy loss can be studied using the nuclear modification factor (R AA ), defined as the ratio of the PbPb yield to the pp crosssection scaled by the nuclear overlap function [6]. Moreover, the azimuthal anisotropy of produced D 0 mesons can be characterized by the Fourier coefficients v n in the azimuthal angle (φ) distribution of the hadron yield, dN/dφ ∝ 1 + 2 n v n cos[n(φ − Ψ n )], where Ψ n is the azimuthal angle of the direction of the maximum particle density of the n th harmonic in the transverse plane [7]. At low transverse momentum (p T ), the charm hadron v n coefficient can help quantify the extent to which charm quarks flow with the medium, which is a good measure of their interaction strength. The measurements of R AA and v n can also help explore the coalescence production mechanism for charm hadrons where charm quarks recombine with light quarks from the medium, which could also lead to positive charm hadron v n [8,9]. At high p T , the charm hadron v n coefficient can constrain the path length dependence of charm quark energy loss [10,11], complementary to the R AA measurements. Precise measurements of the R AA and the azimithal anisotropy of particles containing both light and heavy quarks can thus provide important tests of QCD predictions at extreme densities and temperatures. In these proceedings, the production of prompt D 0 mesons in PbPb collisions at 5.02 TeV is measured for the first time