Please understand the purpose of the two tools you are discussing. What you are asking for is like asking for instructions for how to cook. It depends on what you are cooking, how you want it to taste, what cookware you have, and what ingredients you have on hand. There is not a single answer for "How do you use Wireshark?" or "How do you use Snort?".
Snort has various rules that are built in. You can download Snort rules HERE. Each Snort rule is assigned a category. You can view a list of Snort categories HERE. Snort is designed so you can write your own rules. To write your own rules, you need to understand IP and TCP/UDP. When packets that match a rule are received by Snort, it can alert, log, pass, activate, dynamic, drop, reject, or sdrop the packet. Additional information about actions Snort can take when a packet matches a rule can be obtained HERE.
Wireshark is meant to capture network packets. It shows you the packets so you can analyze them and view individual packets. An overview on how to complete basic tasks in Wireshark can be referenced HERE.
You can read the Wireshark User's Guide HERE.
I guess I'm not sure what your question is. There is a lot of information about how to use both tools on a significant number of websites. They are not easy tools and require patience to learn. If you do not understand IP and TCP/UDP you will struggle with learning how to use either program.
If you are serious about learning how to use Snort or Wireshark, I highly suggest you read the manuals. There is a lot of helpful information in the manuals for both programs.
If you have a specific question about how to create a Snort rule that does "Z", please feel free to ask. If you have a specific question about what a specific TCP or UDP transmission looks in Wireshark, also ask.
I hope that addresses your questions. It may result in you having more questions when you start using the programs on your own which is good. One of the best ways to learn is by doing it yourself.