The gap should be of atleast 12 hours minimum. Since paracetamol along with alcohol (ethanol) increases risk of gastric erosion. It is advisable to take a PPI if you still wish to consume alcohol.
Next Steps
Avoid Paracetamol even upto 12 hours after alcohol consumption
Health Tips
PPI will reduce the risk of gastric erosion