You will need to be able to write a general and solve for the units...
$r(t) = k[A]^n$
$r(t)$ is the initial rate as a function of time$t$ ,$k$ is the rate constant,$[A]$ is the concentration of$A$ , and$n$ is the order of$A$ .
Since
$"M"/"s" = [???] cdot "M"^n$
$=> [???]$
$=$ $color(blue)("units of rate constant in general")$
$= color(blue)("M"^(1 - n)/"s")$
So,
Can you work out second order and third order?