Take an example, $\ce{HNO3}$
The total valence of $\ce{HNO3}$ must be 24. By using formula $\pi =6\mathrm{n}+2-\mathrm{V}$ where $\pi$ is number of $\pi$ electrons, $\mathrm{n}$ is number of atoms excluding all hydrogen atom, and $\mathrm{V}$ is total valence, the $\pi$ is $2$. It means that there would be one double bond in the structure of $\ce{HNO3}$ and the remaining bonds other than $\pi$ bond are $\sigma$ bond.
I understand the double bond has 1 $\pi$ electron and 1 $\sigma$ electron. It means 10 electrons are used for the bonds and 14 electrons are remaining.
I know it would be impossible to violate octet rule because the calculation of $\pi$ already stated.
I have trouble how to spread the 7 lone pairs. Why does the $\ce{O}$ in the single bond $\ce{N-O}$ have 3 lone pairs, while the $\ce{O}$ in the double bond has 2 lone pairs? I don't expect the answer like "Just spread the lone pairs to somewhere".
I'm worried about the odd number of unshared electrons.
I know the $-$ means rich of electron and $+$ means lack of electron. To check the formal charge in each atom is easy, but how to calculate the formal charge, if I don't know where to put the $-$ and $+$.
I think this question is not a duplicate of The Lewis structure of HNO3. I already saw that question , but I'd like to ask here again, because I need the answer for my misunderstanding, even though the answer would be general structure of $\ce{HNO3}$.
To be precise, I just don't know where I need to put unshared electrons. It's like I'm missing the bridge. I know resonance, as arrow-pushing, and mechanisms are required in organic chemistry.