In Hesiod’s Pandora myth, Epimetheus accepted Pandora despite Prometheus’s warning.
Prometheus, whose name is associated with forethought, tells his brother Epimetheus not to accept gifts from Zeus. Epimetheus, whose name is associated with afterthought, ignores that advice when Pandora arrives. Hesiod then presents Pandora as entering the human household with the container sent by the gods.
This brotherly contrast is a structural feature of the myth. Prometheus anticipates danger but has already provoked Zeus by taking fire for humans. Epimetheus acts after the fact, accepting the divine gift and later dealing with its consequences.
The story is sometimes simplified by saying Pandora was sent directly to Prometheus. In Hesiod’s version, she is associated with Epimetheus, and that relationship helps explain why the warning is relevant. The brothers are Titans, not Olympian gods.