If your ears are blocked due to congestion (a cold or allergies), a nasal spray like oxymetazoline (Afrin) can reduce swelling in the nasal passages.
If your ears are blocked because of minor swelling or congestion (common if you flew with a cold or allergies), medicine can help. how to open blocked ear after flight
Hold a warm, damp washcloth against the affected ear for 10–15 minutes. If your ears are blocked due to congestion