2 parts stuck and need solutions. pronto

how do I make sure this thing goes in right when I put it back so my spark timing isn't all super wacked out