Having had perforated eardrums before through infection, this is what the Doc advised me.
1) OK to fly while the eardrum was still perforated - that short amount of time before it healed. As ear system is open, no issue with pressure or pain.
2) Bad idea to fly when it had started to heal as it would tear again and maybe cause more damage/bigger hole/delay final repair/cause hearing loss.
As there is no way of telling when 1 ends and 2 starts without an exam immediately before the flight, the overall recommendation was not to go near an aircraft for at least two weeks and come back to the Doc then for a check.
Option (1) is very much you're somewhere you don't need to be and must be home and sea/road/rail is not an option.