Please do not watch Endgame if you have not watched Caption America, Dr. Strange, Avengers, Ant man and so many of them... But the once I mention have a very strong connection. Not writing any spoilers , but if You really want to Njoy this movie and stay Connected with it emotionally do watch the other movies first. I Loved it to the core and planning to watch it again.
still if you want to watch it just after Infinity War and haven't watched the above mentioned movies... Just don't say u didn't like it. It's just not right then.