Tips:
Give your ear time to heal before you dive again.
After the ear infection is gone practice clearing your ears on land regularly. Do this in the car, at work, at home. Like fishoutawater said, your ears will benefit from the practice.
Clear your ears "early and often" like the others said. This means when you get out of bed on dive day, on the way to the dive site, at the dive site, after you suit up, right before you get in the water, right before you descend, immediately after your head goes under the water and, until you ears get used to the idea clear them every 2-4 feet during your descent. Again your ears will benefit from the practice.
A common problem I see with my students who have problems clearing is they are continuing to sink while they try to clear. Until you get your buoyancy control down it will help if you descend holding onto a line so you can stop your descent to clear your ears. If you continue sinking you increase the pressure and it will be impossible to get your ears to clear.
You should not wait until you feel pain before trying to equalize, it's too late then. Equalize when you feel the first bit of pressure and make sure you don't continue your descent until your ears clear. If they won't clear after the first attempt move up the line a foot or so and try again, continue this cycle (attempt to clear, move up a foot) until your ears do clear then descend again, slowly.
Ears that are slow to clear are not unusual. I have found that stretching the offending ear toward the sky while I attempt to clear often helps--looks ridiculous but it helps
Do not force your ears to clear.
Let your buddy's know you have difficulty clearing.
This isn't an unusual problem. It may take a lot of time, clearing practice and DIVING (yeah!) to get your ears acclimated to your new sport. I used to have to clear 3 times in a 14-foot deep swimming pool, now I only need to clear once
Good luck!
Ber :lilbunny: