What to do (if something) when someone gets your paper wrong
If the paper is already published, the only thing you can do is to get the journal to publish a correction. This is usually a huge hassle and only justified in extreme cases such as if the paper under question is mainly a response to yours. Being known as a pain in the posterior is usually much worse than being cited in a misleading way.

You can also use your own future papers to set the record straight. "Contrary to BLAH 2018, BLAH 2016 did not advocate to eat all the cookies". In minor cases, I would not do this either.

Things are of course different if a paper is not yet published, in this case, you can just write a polite email to the authors. Of course, in many fields papers are not circulated early. You can of course also write authors of published papers and correct their misperceptions so that they will not describe your work wrongly in future papers. In any case, be polite and not accusatory.