Wrap your head around something

Meaning: To understand something complicated or difficult.
Example: I’m still trying to wrap my head around the new rules.