A bad elbow is a sign of overtraining.
Here's my suggestion:
First: Get a non-prescription anti-inflammatory. Such as ibuprofen, or diklofenak. Eat and treat with that for 7-10 days. Also get it as a topical cream.
Secondly:During the first 5-6 days, don't lift at all. The rest of the time, don't do any pressing movements, such as DB presses, benchpress, or equal.
Also: widen the grip on the squat slightly, as well as us a false grip; ie put the thump on the same side as the rest of the fingers, this will relieve pressure from the elbows when you squat. And no. No squatting during the recovery period either.
And most importantly: while recovering, go over your training protocol, and reassess the training volume. Make the necessary changes so you won't end up with this problem again.
Meaning: You will likely have to cut down on some sets.
This injury is a sign that you're not training optimally, and with a little less volume, you will probably make better gains.
Why not post the current routine bro?
Or. It could be something as simple as that you're not holding a false grip on the squat. Nevertheless, I suggest you post your routine, and also to take a break and treat the elbow to cure it fast.
That way it won't become chronic.
-Hedge