That’s a rather personal question!!!

lol
Seriously though, it pretty much boils down to what you like and are comfortable using. I stay away from ‘online’ programs for security reasons. You lose control of your image the second you upload it… not good if there are any copyright issues.
There are some good open source programs such as GIMP and Inkscape. There are definitely other programs that are more specialized for those limited uses. Others here might have more recommendations. In general though, it boils down to what you have and what you know how to use.
I personally use Photoshop for 95% of the work, and Inkscape for .svg files. Adobe’s prescription model for their entire package of software is useful and not too unreasonably priced.
Edit: I forgot to mention
Affinity. It is a VERY reasonably priced software that you can buy without locking yourself into a prescription. Their suite of software is fully featured and very professional.