Sounds good. Im ready to go!Read the below spoiler about Captain Marvel if you want before you see Endgame.
She has ridiculous power. She's more powerful than even Thor. Superman level power.
At the end of Captain Marvel which takes place in the early 90's she's flies off into space to help other planets and gives Fury the pager. Fury activates the pager at the end of Infinity War.
The post credits scene in Captain Marvel is the surviving Avengers finding the pager. They have it at their base and Captain Marvel appears behind them.
This means at the beginning of Endgame the Avengers on Earth already know who she is and have talked with her. If you hadn't seen Captain Marvel it would be confusing because she's just there already and everyone knows each other.
Also seeing Antman and the Wasp is pretty important too if you haven't.
If you haven't just understand that A&W takes place during Infinity War and at the end Antman is sent to the Quantum realm right as the snap in Infinity War happens. His people disappear and he's stranded in the Quantum realm and nobody knows where he is at the beginning of Endgame. They assume he's dead.