2000 celica gt

check engine light is on. it stays solid when car is in motion but blinks otherwise. error code was p0301, cylinder 1 misfire. the car shakes all the time too. any ideas would be helpful. also I thought it was the spark plugs so I changed them but it didn't help.