For water stuck in your ear after shower or swimming, what works for me is tilting your head to the side that is plugged and bending/unbending your knees (making your body bounce) until the water comes out.
Easier method, tilt your head towards the clogged side, and then pull down gently on your earlobe. This will let an air bubble past the water, and it all drains out almost instantly. No weird hokey-pokey dance required.
If you’re getting water stuck in your ear then you probably have compacted wax in there that is getting stuck behind.