i need someone's advice,

my engine just started shaking and the check engine light went on, i run the diagnostic, and recieved P0300 signal - misfires in the engine:

i have an assumptions that it could be a problem with:

-sparkplugs
-coils
-wires

Any advice, did anyone had this kind of problem, and how did you deal with this?

Thank you in advance