If you’ve determined the crack is cosmetic, you can usually handle the repair yourself in an afternoon. Here is the standard approach for drywall:
Cracks near windows typically manifest in four distinct zones: cracks near windows