Theoretical approach to frequency-dependent dynamics of domain walls in magnetically ordered materials