Something that happens "no matter what" is always the same in every situation.
You can use "no matter what" at the beginning of a sentence:
No matter what I do, I can't seem to find a job.
Or at the end of a sentence:
I'll always love you, no matter what you say or do.
Most of the time, we put "no matter what" at the beginning of a sentence when we're talking about something negative and at the end of a sentence when we're saying something positive.