thanks for asking yhe query,
if pain persist in your extracted molar it may be a sign of dry socket
i. this occurs as blood clot gets disloged from socket and the bone gets exposed to air it may also be associated with bad breath
for pain , you can take any non steriodal anti inflammatory drug like ibuprofen
can even clean the socket and remove the debris and place a dressing to promote healing , you probably have to come back to dentist to change dressing at intervals.
At home you can rinse mouth with salt water and mouthwash and maintain good oral hygeine
your dry socket will take time upto two weeks to heal.