I've been trying to put a brick texture on a cylinder, I'm running out of time since I've been stuck on this for so long. The sides as shown in the picture below are getting stretched out, I've tried UV mapping and scaling though I don't completely understand it yet so I'm not sure what I'm doing wrong. (The wall in the back and the cylinder are separated objects.) I also have tried the overlays>stretching and Minimize Stretch and Average Islands Scale.
When I try to do cylinder projection it looks like the picture below.
I'm using blender 2.8. Really thankful for quick answer.