Filament formed a block around nozzle

Recently my printer had an error with its extruder kit, nozzle’s clogged slightly and was pulled away from where it was meant to be. So I opened it up and turns out some filament formed a brick around the nozzle. Not sure how I’m meant to remove it in a decent amount of time. Any solutions?