Have a look a the rest of this thread - there are some good tips up there in relation to medication etc. Try steam inhalations, decongestant tablets etc. anything try an open up your tubes....
I don't think you will fail the Class 1 with fluid in your ears provided you can hear OK but I would check with the CAA first.
In extreme cases, you can get grommets in your ear drums which will allow the fluid to drain out....I wouldn't bother with that until you've exhausted all the medical options though!!!
If you do a search on Google for Otitis media, you will find lots of good information.