you may most probably be having an infection of the external ear which is akin to a boil. It should subside in a day or two. However if the pain persists and the swelling increases then you need to consult an ENT.
The infection which had caused you vertigo
previously has no relation to the present problem as vertigo occurs due to inner ear infection