locked oven

I ran the self cleaning, after the cleaning the oven cooled down but the fan and the lock are stuck on. I unplugged the oven overnight, but it is still locked and the fan is going on and off with an occasional F1 error. What do I need to do??