If it is a JAA medical certificate, within 5 years of expiry you simply need to meet renewal criteria.
If more than 5 years but less than 10 you are required to undergo an extended medical.
Any more than 10 years and it is a full medical.
It seems like you fall into the renewal criteria as your medical expired less than 5 years ago.