While you can edit the code of the plugin directly, it’s not recommended since any updates will overwrite your changes. There are many actions and filters available which you can potentially use, but guidance on writing code is beyond the support we can provide.
There is a video I made on using actions and filters to customize a plugin in case it’s helpful: