Welcome,
Analyzing your play is how to become good at poker...just do not base your decisions on short-term results. Short-term results can be very decieving. If the play makes money over the long term, this is the key. Losing after raising with AK preflop might give you the impression that you shouldn't raise with AK....over the long term, raising is essential to making more money.
Enjoy.