Welcome to Health Care Magic
It is difficult to conclude from your description.
Probably is a severe form of acne? Is your face free?
Doxycycline is generally given for skin infection
The best option is to see a Dermatologist
There is a choice of excellent drugs depending on the diagnosis. (like Tretinoin
for acne - which need medical supervision)
Wishing speedy recovery