You shouldn't act selfishly.

Literal

Selfish action [object-を] do should-not.

利己的な行動をするべきではない — べきではない (should not) is the negative of べきだ (should). A moral instruction.