Can someone please explain me how to write chemical equations for titration reactions? Are there general formula rulesor something like that - I'm honestly so lost and just rearrange things until I get something that looks right.

Depends what kind of a titration - but, since 90% of them are acid-base anyway, I'll work off of that.
Remember: acids are proton donors, bases are proton acceptors. So, all you need to do is move a proton from your acid to your base. Easy. Example, HCl and NaOH:

Now, this isn't quite it. See, this equation doesn't make a lot of sense. But, you should notice that our NaOH now has a water molecule on it (it's just OH2 as opposed to H2O). So, let's remove that:

One final thing that we tend to do here is combine our ions, which tbh is kinda eh, but feel free to do so:

This general process should help you piece through any and all titration questions. Note that this methodology won't always work - not all bases will lose water (some will just exist as a charged species), and some will lose more than just water (try it with NaHCO3 - you should see both H2O and CO2 disappear from that sodium), but if you always to proton from acid to base, you'll always be on the right foot.