It is advisable to avoid coffee and alcohol for at least the first 48 hours after surgery as they can dehydrate you and potentially interfere with the healing process. Discuss with your dentist when it would be appropriate to reintroduce these beverages.