Don't load it at all until you can walk comfortably.
Compression, ice and elevate.
Alternative exercises until then - leg curls, leg extensions and single leg squats on the good leg.
You should be able to get back to squatting / deadlifts pretty quick as long as you don't rush it and fuck it...