One of the reasons to place a tempory filling is to evaluate the health of the nerve
of the tooth. Your symptoms indicate the tooth is not healthy and further assessment is needed to determine the best treatment at this point. You could be looking at root canal
or possible extraction. See your dentist ASAP.