Rinse with warm salt water and floss around the tooth. Take an over-the-counter pain reliever you already use safely, as the label directs. Hold a cold pack on your cheek. Sleep with your head raised. Call a dentist when offices open and say it's an emergency.
If you're not sure how urgent it is, a dentist can see you by video at any hour through Emergency Dentists Online.