If you are flying IFR in IMC conditions and you experience a total communications failure, you should:
try to contact another aircraft for relay
land at the nearest suitable aerodrome and report to ATS
try to make contact on another frequency with either a ground station or another aircraft
continue the flight according to flight plan