Let $\omega^{\frac{2\pi}{m}}$, we fix a prime p and write $m=p^kn$ with $p\not| \, n$.
We know that the Galois group of $\mathbb{Q}[\omega]$ over $\mathbb{Q}$ is isomorphic to $\mathbb{Z}^*_m$ that is isomorphic to $\mathbb{Z}^*_{p^k}\times \mathbb{Z}^*_n$.
How can I describe $D$ and $E$ (corresponding to $p$) in terms of this product?
Here $D:=D(Q|P)$ is the decomposition group and $E=E(Q|P)$ is the inertia group.
In general, suppose that $L/K$ is a Galois extension and $\mathfrak P$ is a prime of $L$ lying above a prime $\mathfrak p$ of $K$. Let $G=\mathrm{Gal}(L/K)$, $D$ be the decomposition group of $\mathfrak {P/p}$ and $I$ the inertia group. Then there is a tower of field extensions $$K=L^G\subset L^D\subset L^I\subset L.$$ Let $\mathfrak P_D,\mathfrak P_I$ be the primes of $L^D, L^I$ lying below $\mathfrak P$. Then:
Moreover, $L^I$ is the maximal subextension of $L/K$ in which $\mathfrak p$ is unramified, and $L^D$ is the maximal subextension in which $\mathfrak p$ is unramified and splits completely.
In your case, $K = \mathbb Q$ and $L =\mathbb Q(\zeta_m)$, where $\zeta_m$ is a primitive $m$-th root of $1$.
The inertia group is relatively easy: we have $\mathbb Q\subset\mathbb Q(\zeta_{n})\subset\mathbb Q(\zeta_m)$. Since $p\nmid n$, $p$ is unramified in $\mathbb Q(\zeta_n)$. On the other hand, any prime above $p$ in $\mathbb Q(\zeta_n)$ is totally ramified in $\mathbb Q(\zeta_m)$. It follows that $$I = \mathrm{Gal}(\mathbb Q(\zeta_m)/\mathbb Q(\zeta_n))\subset G.$$ Via your isomorphism, we have $I = (\mathbb Z/p^k\mathbb Z)^\times$.
The decomposition group is a bit harder: you need to determine how $p$ splits in $\mathbb Q(\zeta_n)$. You can do this by writing $\mathbb Q(\zeta_n)$ as the compositum of the fields $\mathbb Q(\zeta_{p_i^{a_i}})$ where $n = \prod_{i}p_i^{a_i}$ and using this question.
The decomposition group will be $(\mathbb Z/p^k\mathbb Z)^\times\times D'$ where $D'$ is the decomposition group of $p$ in $\mathbb Q(\zeta_n)$.